|
Action:
|
Trims two curves to their intersection.
|
|
|
Prototype:
|
outcome api_trim_2curves (
|
|
|
const entity_with_ray& crv1,
|
// curve to trim plus
|
|
|
|
|
|
// position on part
|
|
|
|
|
|
// to keep
|
|
|
const entity_with_ray& crv2,
|
// curve to trim plus
|
|
|
|
|
|
// position on part
|
|
|
|
|
|
// to keep
|
|
|
AcisOptions* ao = NULL
|
|
// acis options
|
|
|
);
|
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "constrct/kernapi/api/cstrapi.hxx"
|
|
#include "kernel/geomhusk/entwray.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "kernel/kernapi/api/acis_options.hxx"
|
|
|
Description:
|
This API trims the curves (crv1 and
crv2) to the intersection that is closest to the average of the two rays.
|
|
|
Library:
|
constrct
|
|
|
Filename:
|
cstr/constrct/kernapi/api/cstrapi.hxx
|
|
|
Effect:
|
Changes model
|