Skip to main content

Plane

Constructors

constructor

new Plane(origin, xDirection?, normal?)

Parameters

NameTypeDefault value
originPointundefined
xDirectionnull | Pointnull
normalPointundefined

Defined in

geom.ts:351

Properties

_origin

Private _origin: Vector

Defined in

geom.ts:345


globalToLocal

Private globalToLocal: Transformation

Defined in

geom.ts:349


localToGlobal

Private localToGlobal: Transformation

Defined in

geom.ts:347


oc

oc: OpenCascadeInstance

Defined in

geom.ts:338


xDir

xDir: Vector

Defined in

geom.ts:340


yDir

yDir: Vector

Defined in

geom.ts:341


zDir

zDir: Vector

Defined in

geom.ts:342

Accessors

origin

get origin(): Vector

Returns

Vector

Defined in

geom.ts:395

set origin(newOrigin): void

Parameters

NameType
newOriginVector

Returns

void

Defined in

geom.ts:399

Methods

_calcTransforms

_calcTransforms(): void

Returns

void

Defined in

geom.ts:448


clone

clone(): Plane

Returns

Plane

Defined in

geom.ts:391


delete

delete(): void

Returns

void

Defined in

geom.ts:383


pivot

pivot(angle, direction?): Plane

Parameters

NameType
anglenumber
directionDirection

Returns

Plane

Defined in

geom.ts:434


rotate2DAxes

rotate2DAxes(angle): Plane

Parameters

NameType
anglenumber

Returns

Plane

Defined in

geom.ts:442


setOrigin2d

setOrigin2d(x, y): void

Parameters

NameType
xnumber
ynumber

Returns

void

Defined in

geom.ts:472


toLocalCoords

toLocalCoords(vec): Vector

Parameters

NameType
vecVector

Returns

Vector

Defined in

geom.ts:476


toWorldCoords

toWorldCoords(v): Vector

Parameters

NameType
vPoint

Returns

Vector

Defined in

geom.ts:483


translate

translate(xDist, yDist, zDist): Plane

Parameters

NameType
xDistnumber
yDistnumber
zDistnumber

Returns

Plane

Defined in

geom.ts:410

translate(vector): Plane

Parameters

NameType
vectorPoint

Returns

Plane

Defined in

geom.ts:411


translateTo

translateTo(point): Plane

Parameters

NameType
pointPoint

Returns

Plane

Defined in

geom.ts:404


translateX

translateX(xDist): Plane

Parameters

NameType
xDistnumber

Returns

Plane

Defined in

geom.ts:422


translateY

translateY(yDist): Plane

Parameters

NameType
yDistnumber

Returns

Plane

Defined in

geom.ts:426


translateZ

translateZ(zDist): Plane

Parameters

NameType
zDistnumber

Returns

Plane

Defined in

geom.ts:430