Skip to main content

Class: Transformation

Hierarchy

Constructors

constructor

new Transformation(transform?)

Parameters

NameType
transform?gp_Trsf

Overrides

WrappingObj.constructor

Defined in

geom.ts:222

Accessors

wrapped

get wrapped(): Type

Returns

Type

Inherited from

WrappingObj.wrapped

Defined in

register.ts:39

set wrapped(newWrapped): void

Parameters

NameType
newWrappedType

Returns

void

Inherited from

WrappingObj.wrapped

Defined in

register.ts:44

Methods

coordSystemChange

coordSystemChange(fromSystem, toSystem): Transformation

Parameters

NameType
fromSystemCoordSystem
toSystemCoordSystem

Returns

Transformation

Defined in

geom.ts:286


delete

delete(): void

Returns

void

Inherited from

WrappingObj.delete

Defined in

register.ts:54


mirror

mirror(inputPlane?, inputOrigin?): Transformation

Parameters

NameTypeDefault value
inputPlanePlane | PlaneName | Point"YZ"
inputOrigin?Pointundefined

Returns

Transformation

Defined in

geom.ts:252


rotate

rotate(angle, position?, direction?): Transformation

Parameters

NameType
anglenumber
positionPoint
directionPoint

Returns

Transformation

Defined in

geom.ts:235


scale

scale(center, scale): Transformation

Parameters

NameType
centerPoint
scalenumber

Returns

Transformation

Defined in

geom.ts:279


transform

transform(shape): TopoDS_Shape

Parameters

NameType
shapeTopoDS_Shape

Returns

TopoDS_Shape

Defined in

geom.ts:310


transformPoint

transformPoint(point): gp_Pnt

Parameters

NameType
pointPoint

Returns

gp_Pnt

Defined in

geom.ts:303


translate

translate(vector): Transformation

Parameters

NameType
vectorPoint

Returns

Transformation

Defined in

geom.ts:227