 |
PK_FACE_imprint_cus_vector |
|
PK_ERROR_code_t PK_FACE_imprint_cus_vector
(
--- received arguments ---
int n_targets, --- number of faces
const PK_FACE_t targets[], --- array of faces
int n_curves, --- number of curves
const PK_CURVE_t curves[], --- curves
PK_INTERVAL_t intervals[], --- parametric intervals
PK_VECTOR_t direction, --- direction to project
--- curves in
double tol, --- tolerance
const PK_FACE_imprint_cus_vector_o_t *options, --- options
--- returned arguments ---
PK_TOPOL_track_r_t *const tracking --- tracking information
)
This function imprints the given array of curves on the given array of faces
( of the same body ) by projecting them locally along the given vector
direction.
NOTE: This function is deprecated and has been superseded by PK_CURVE_project.
Specific Errors:
PK_ERROR_invalid_geometry Invalid curve
PK_ERROR_unsuitable_entity Unsuitable curve type for operation
PK_ERROR_cant_do_imprint Failed to perform imprint
PK_ERROR_wrong_entity_in_array 'targets' not all from same body
Edges and vertices are added to the faces. These are the image of the curves on
the faces under projection in the supplied direction. The edges created by this
imprinting are returned in the tracking structure. They may contain existing
edges where the curves project down onto existing edges.
The tolerance supplied is used to solve any resolution problems and may also be
used to create SP-curves on the imprinted edges.
The returned PK_TOPOL_track_r_t structure contains tracking records of type
PK_TOPOL_track_create_c each of which contains the original face and the
imprinted edges on that face.