Hide menu
Loading...
Searching...
No Matches
ElementarySurface

Base class for elementary surfaces.

An elementary surface has an axis returned by position.

Extends

Extended by

Constructors

Constructor

new ElementarySurface(type, position): ElementarySurface

Creates an elementary surface from a type and position axis.

The provided axis is copied.

Parameters

type

SurfaceType

Type of the surface.

position

Axis3d

Position axis of the surface.

Returns

ElementarySurface

Overrides

Surface.constructor

Properties

position

readonly position: Axis3d

Position axis of the surface.


type

readonly type: SurfaceType = SurfaceType.UNDEFINED

Type of the surface.

Inherited from

Surface.type

Accessors

direction

Get Signature

get direction(): Direction

Returns the Z direction of the surface axis.

Returns

Direction


id

Get Signature

get id(): bigint

Returns the unique identifier of the object.

Returns

bigint

Inherited from

Surface.id


location

Get Signature

get location(): Point

Returns the origin point of the surface axis.

Returns

Point