Hide menu
Loading...
Searching...
No Matches
CylindricalSurface

Defines a cylindrical surface.

A cylindrical surface is defined by its position and radius.

Extends

Constructors

Constructor

new CylindricalSurface(position, radius): CylindricalSurface

Creates a cylindrical surface from a position axis and radius.

Throws a RangeError if radius is less than 0.

Parameters

position

Axis3d

Position axis of the surface.

radius

number

Radius of the surface.

Returns

CylindricalSurface

Overrides

ElementarySurface.constructor

Properties

position

readonly position: Axis3d

Position axis of the surface.

Inherited from

ElementarySurface.position


radius

readonly radius: number

Radius of the surface.


type

readonly type: SurfaceType = SurfaceType.UNDEFINED

Type of the surface.

Inherited from

ElementarySurface.type

Accessors

direction

Get Signature

get direction(): Direction

Returns the Z direction of the surface axis.

Returns

Direction

Inherited from

ElementarySurface.direction


id

Get Signature

get id(): bigint

Returns the unique identifier of the object.

Returns

bigint

Inherited from

ElementarySurface.id


location

Get Signature

get location(): Point

Returns the origin point of the surface axis.

Returns

Point

Inherited from

ElementarySurface.location