AnyCAD Rapid API 2023
Help you to create a better world!
|
Static Public Member Functions | |
static TopoShape | Translate (TopoShape pShape, GVec vec) |
static TopoShape | Rotation (TopoShape pShape, GAx1 axis, double angle) |
static TopoShape | Scale (TopoShape pShape, GPnt center, double scale) |
static TopoShape | Mirror (TopoShape shape, GAx1 axis) |
static TopoShape | Transform (TopoShape pShape, GTrsf trf) |
static TopoShape | Transform (TopoShape pShape, GAx3 trf) |
static TopoShape | TransformByMatrix (TopoShape pShape, Matrix4 matrix) |
static Matrix4 | ToMatrix4 (GTrsf trf) |
static GTrsf | ToTransform (Matrix4 mat) |
static void | Decompose (Matrix4 mat, Vector3 pos, Quaternion rot, Vector3 scale) |
Mirror the shape.
shape | the input shape. |
axis | the axis to mirror. |
Rotate the shape.
pShape | the input shape. |
axis | the axis. |
angle | the angle to rotate. by radians |
Scale the shape.
pShape | the input shape. |
center | the scale center. |
scale | the scale value. |
Transform the shape with arbitrary transfom.
pShape | the input shape. |
trf | the matrix |
Transform the shape with 4x4 matrix.
pShape | the input shape. |
matrix | the matrix. |