A conical surface is defined by its position, radius, and semiAngle.
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).
Position axis of the conical surface.
number
Semi-angle of the conical surface.
number
Reference radius of the conical surface.
ConicalSurface
readonlyposition:Axis3d
Position axis of the surface.
readonlyradius:number
Reference radius of the conical surface.
readonlysemiAngle:number
Semi-angle of the conical 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.