SbSphere Structure |
Represents a sphere in 3D. This is a lightweight datatype that is used for arguments or return values in the Open Inventor toolkit. See SoSphere for a database sphere (used for rendering, picking, etc.).
Namespace: OIV.Inventor
The SbSphere type exposes the following members.
Name | Description | |
---|---|---|
SbSphere(SbVec3f, Single) |
Constructor that takes a center and a radius.
| |
SbSphere(SbVec3f, Single) |
Constructor that takes a center and a radius.
|
Name | Description | |
---|---|---|
Circumscribe(SbBox3f) |
Adapt sphere to contain a given box.
| |
Circumscribe(SbBox3f) |
Adapt sphere to contain a given box.
| |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetCenter | Obsolete.
Use Center property instead.
| |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetRadius | Obsolete.
Use Radius property instead.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Intersect(SbLine, SbVec3f) |
Intersect line and sphere, returning true if there is an intersection. The line
is treated as a ray.
| |
Intersect(SbLine, SbVec3f) |
Intersect line and sphere, returning true if there is an intersection. The line
is treated as a ray.
| |
Intersect(SbLine, SbVec3f, SbVec3f) |
Intersect line and sphere, returning true if there is an intersection. The line
is treated as a ray.
| |
Intersect(SbLine, SbVec3f, SbVec3f) |
Intersect line and sphere, returning true if there is an intersection. The line
is treated as a ray.
| |
SetCenter | Obsolete.
Use Center property instead.
| |
SetRadius | Obsolete.
Use Radius property instead.
| |
SetValue(SbVec3f, Single) |
Change the center and radius.
| |
SetValue(SbVec3f, Single) |
Change the center and radius.
| |
ToString |
Converts this SbSphere structure to a human readable string.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Center |
Gets or sets the center of the sphere.
| |
Radius |
Gets or sets the radius of the sphere.
|