|
Action:
|
Creates an
EDGE that represents a bounded line segment between two points.
|
|
|
Prototype:
|
outcome api_mk_ed_line (
|
|
|
SPAposition const& start_point,// starting point
|
|
|
SPAposition const& end_point,// ending point
|
|
|
EDGE*& edge,
|
|
// edge returned
|
|
|
AcisOptions* ao = NULL
|
|
// acis options
|
|
|
);
|
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "constrct/kernapi/api/cstrapi.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "kernel/kerndata/top/edge.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "kernel/kernapi/api/acis_options.hxx"
|
|
|
Description:
|
This API creates and returns an
EDGE with a start
VERTEX and end
VERTEX defined by given positions.
|
|
|
Also creates a
STRAIGHT line as the geometry supporting the edge.
|
|
|
Errors:
|
Distance between start and end points less than
SPAresabs.
|
|
|
Library:
|
constrct
|
|
|
Filename:
|
cstr/constrct/kernapi/api/cstrapi.hxx
|
|
|
Effect:
|
Changes model
|