Hide menu
Loading...
Searching...
No Matches
ConicalSurface

Defines a conical surface.

A conical surface is defined by its position, radius, and semiAngle.

Extends

Constructors

Constructor

new ConicalSurface(position, semiAngle, radius): ConicalSurface

Creates a conical surface from a position axis, semi-angle, and reference radius.

Throws a RangeError if radius is negative. Throws a RangeError if the absolute value of semiAngle is not in the range (0, Math.PI / 2).

Parameters

position

Axis3d

Position axis of the conical surface.

semiAngle

number

Semi-angle of the conical surface.

radius

number

Reference radius of the conical surface.

Returns

ConicalSurface

Overrides

ElementarySurface.constructor

Properties

position

readonly position: Axis3d

Position axis of the surface.

Inherited from

ElementarySurface.position


radius

readonly radius: number

Reference radius of the conical surface.


semiAngle

readonly semiAngle: number

Semi-angle of the conical 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