Gets or sets the diameter for this sphere.
Gets a value that indicates whether the sphere is valid.
Gets the point at the North Pole of the sphere. This is the parameterization singularity that can be obtained, at V value +Math.Pi/2.
Gets or sets the Radius for this sphere.
Gets the point at the South Pole of the sphere. This is the parameterization singularity that can be obtained, at V value -Math.Pi/2.
Point to project onto the sphere.
[boolean, number, number] (boolean) true on success, false on failure. This function will fail if the point it coincident with the sphere center. (number) The longitudinal angle (in radians; 0.0 to 2pi) where the sphere approaches testPoint best. (number) The latitudinal angle (in radians; -0.5pi to +0.5pi) where the sphere approaches testPoint best.
Finds the angle parameters on this sphere that are closest to a test point.
A nurbs surface representation of this sphere or null.
Converts this sphere to its NurbsSurface representation. This is synonymous with calling NurbsSurface.CreateFromSphere().
Static
decodeA js object in the following format:
{
Radius: <number>,
EquatorialPlane: {
Origin: { X: <number>, Y: <number>, Z: <number> },
XAxis: { X: <number>, Y: <number>, Z: <number> },
YAxis: { X: <number>, Y: <number>, Z: <number> },
ZAxis: { X: <number>, Y: <number>, Z: <number> }
}
}
Decodes js formated sphere data into a Sphere
Generated using TypeDoc
Gets or sets the center point of the sphere.