Base class for elementary surfaces.
An elementary surface has an axis returned by position.
new ElementarySurface(
type,position):ElementarySurface
Creates an elementary surface from a type and position axis.
The provided axis is copied.
Type of the surface.
Position axis of the surface.
ElementarySurface
readonlyposition:Axis3d
Position axis of the 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.