Hide menu
Loading...
Searching...
No Matches
SphericalSurface

Defines a spherical surface.

A spherical surface is defined by a position axis returned by position and a radius.

Extends

Constructors

Constructor

new SphericalSurface(position, radius): SphericalSurface

Creates a spherical surface from a position axis and radius.

Throws a RangeError if radius is less than 0.

Parameters

position

Axis3d

Position axis of the spherical surface.

radius

number

Radius of the spherical surface.

Returns

SphericalSurface

Overrides

ElementarySurface.constructor

Properties

position

readonly position: Axis3d

Position axis of the surface.

Inherited from

ElementarySurface.position

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


radius

Get Signature

get radius(): number

Radius of the spherical surface.

Returns

number


type

Get Signature

get type(): SurfaceType

Type of the surface.

Returns

SurfaceType

Inherited from

ElementarySurface.type