Transformation
Hierarchy
WrappingObj
<gp_Trsf
>↳
Transformation
Constructors
constructor
• new Transformation(transform?
)
Parameters
Name | Type |
---|---|
transform? | gp_Trsf |
Overrides
Defined in
Accessors
wrapped
• get
wrapped(): Type
Returns
Type
Inherited from
WrappingObj.wrapped
Defined in
• set
wrapped(newWrapped
): void
Parameters
Name | Type |
---|---|
newWrapped | Type |
Returns
void
Inherited from
WrappingObj.wrapped
Defined in
Methods
coordSystemChange
▸ coordSystemChange(fromSystem
, toSystem
): Transformation
Parameters
Name | Type |
---|---|
fromSystem | CoordSystem |
toSystem | CoordSystem |
Returns
Defined in
delete
▸ delete(): void
Returns
void
Inherited from
Defined in
mirror
▸ mirror(inputPlane?
, inputOrigin?
): Transformation
Parameters
Name | Type | Default value |
---|---|---|
inputPlane | Point | Plane | PlaneName | "YZ" |
inputOrigin? | Point | undefined |
Returns
Defined in
rotate
▸ rotate(angle
, position?
, direction?
): Transformation
Parameters
Name | Type |
---|---|
angle | number |
position | Point |
direction | Point |
Returns
Defined in
scale
▸ scale(center
, scale
): Transformation
Parameters
Name | Type |
---|---|
center | Point |
scale | number |
Returns
Defined in
transform
▸ transform(shape
): TopoDS_Shape
Parameters
Name | Type |
---|---|
shape | TopoDS_Shape |
Returns
TopoDS_Shape
Defined in
transformPoint
▸ transformPoint(point
): gp_Pnt
Parameters
Name | Type |
---|---|
point | Point |
Returns
gp_Pnt
Defined in
translate
▸ translate(xDist
, yDist
, zDist
): Transformation
Parameters
Name | Type |
---|---|
xDist | number |
yDist | number |
zDist | number |
Returns
Defined in
▸ translate(vector
): Transformation
Parameters
Name | Type |
---|---|
vector | Point |