Sphere3d
A three dimensional sphere represented by center and radius.
Constructors
Constructor | Description |
new(center, radius)
Signature: (center:V3d * radius:float) -> unit
|
Initializes a new instance of the class using center and radius values. |
new(center, pointOnSurface)
Signature: (center:V3d * pointOnSurface:V3d) -> unit
|
Creates a sphere from its center, and a point on its surface. |
new(points)
Signature: points:IEnumerable<V3d> -> unit
|
Uses the first 2 points in the sequence as the sphere's center and a point on the sphere's surface. |
new(sphere)
Signature: sphere:Sphere3d -> unit
|
Initializes a new instance of the class using values from another sphere instance. |
Instance members
Instance member | Description |
BoundingBox3d
Signature: Box3d
Modifiers: abstract |
|
Equals(other)
Signature: other:obj -> bool
Modifiers: abstract |
|
GetHashCode()
Signature: unit -> int
Modifiers: abstract |
|
IsInvalid
Signature: bool
Modifiers: abstract |
|
IsValid
Signature: bool
Modifiers: abstract |
|
RadiusSquared
Signature: float
|
|
SurfaceArea
Signature: float
|
|
ToString()
Signature: unit -> string
Modifiers: abstract |
Writes a sphere to String. |
Volume
Signature: float
|
Static members
Static member | Description |
FromCenterAndRadius(center, radius)
Signature: (center:V3d * radius:float) -> Sphere3d
|
|
FromPoints(points)
Signature: points:IEnumerable<V3d> -> Sphere3d
|
|
FromRadius(radius)
Signature: radius:float -> Sphere3d
|
|
op_Equality(a, b)
Signature: (a:Sphere3d * b:Sphere3d) -> bool
|
Tests whether two specified spheres are equal. |
op_Inequality(a, b)
Signature: (a:Sphere3d * b:Sphere3d) -> bool
|
Tests whether two specified spheres are not equal. |
Parse(s)
Signature: s:string -> Sphere3d
|