A hyperbola is defined by its position, major radius, and minor radius.
new Hyperbola2d(
position,majorRadius,minorRadius):Hyperbola2d
Creates a hyperbola from a position axis, major radius, and minor radius.
Throws a RangeError if majorRadius is less than 0. Throws a RangeError if minorRadius is less than 0.
Position axis of the hyperbola.
number
Major radius of the hyperbola.
number
Minor radius of the hyperbola.
Hyperbola2d
readonlymajorRadius:number
Major radius of the hyperbola.
readonlyminorRadius:number
Minor radius of the hyperbola.
readonlyposition:Axis2d
Position axis of the conic curve.
readonlytype:CurveType=CurveType.UNDEFINED
Type of the curve.
get id():
bigint
Returns the unique identifier of the object.
bigint