|
Action:
|
Moves an array of faces through a transform.
|
|
|
Prototype:
|
outcome api_move_faces (
|
|
|
int const nface,
|
// number of faces
|
|
|
FACE* face[],
|
// faces being moved
|
|
|
SPAtransf const& tr,
|
// transform used
|
|
|
SPAposition box_low,
|
// start of intersection
|
|
|
|
|
// box to be used
|
|
|
SPAposition box_high,
|
// end of intersection
|
|
|
|
|
// box to be used
|
|
|
AcisOptions* ao = NULL
|
// ACIS options
|
|
|
);
|
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "kernel/kerndata/top/face.hxx"
|
|
#include "lop_husk/api/lop_api.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "baseutil/vector/transf.hxx"
|
|
#include "kernel/kernapi/api/acis_options.hxx"
|
|
|
Description:
|
Replaces surfaces of supplied faces with surfaces moved by a transform.
|
|
|
The move operation on the faces is determined by two arguments, the number of faces and which faces.
|
|
|
The movement is defined by the transform.
|
|
|
The box low and high arguments are used to limit any geometrical intersections and so improve performance. Limiting the intersection improves performance. The box must contain the final faces and if omitted defaults to the size box.
|
|
|
Mergeable edges will be retained provided they have a
NO_MERGE_ATTRIB.
|
|
|
Topology Changes:
|
|
|
Refer to the topology changes listed for the function,
api_tweak_faces.
|
|
|
Geometry Changes:
|
|
|
Refer to the geometry changes listed for the function,
api_tweak_faces.
|
|
|
Errors:
|
In addition to the following, refer to the Errors listed for the function,
api_tweak_faces.
|
|
|
|
Translation vector must be non-zero, or error;-
|
|
|
LOP_MOVE_BAD_TRANSFORM
|
|
|
Limitations:
|
Refer to the Limitations listed for the function,
api_tweak_faces.
|
|
|
Library:
|
lop_husk
|
|
|
Filename:
|
lop/lop_husk/api/lop_api.hxx
|
|
|
Effect:
|
Changes model
|