A spherical surface is defined by a position axis returned by position and a radius.
new SphericalSurface(
position,radius):SphericalSurface
Creates a spherical surface from a position axis and radius.
Throws a RangeError if radius is less than 0.
Position axis of the spherical surface.
number
Radius of the spherical surface.
SphericalSurface
readonlyposition:Axis3d
Position axis of the surface.
readonlyradius:number
Radius of the spherical surface.
readonlytype:SurfaceType=SurfaceType.UNDEFINED
Type of the surface.
get direction():
Direction
Returns the Z direction of the surface axis.
get id():
bigint
Returns the unique identifier of the object.
bigint
get location():
Point
Returns the origin point of the surface axis.