This class represents a bounding sphere of a geometric entity (triangle, segment of line or whatever else).
More...
|
| | Bnd_Sphere () |
| | Empty constructor.
|
| |
| | Bnd_Sphere (const gp_XYZ &theCntr, const double theRad, const int theU, const int theV) |
| | Constructor of a definite sphere.
|
| |
| int | U () const noexcept |
| | Returns the U parameter on shape.
|
| |
| int | V () const noexcept |
| | Returns the V parameter on shape.
|
| |
| bool | IsValid () const noexcept |
| | Returns validity status, indicating that this sphere corresponds to a real entity.
|
| |
| void | SetValid (const bool isValid) noexcept |
| |
| const gp_XYZ & | Center () const noexcept |
| | Returns center of sphere object.
|
| |
| double | Radius () const noexcept |
| | Returns the radius value.
|
| |
| void | Distances (const gp_XYZ &theXYZ, double &theMin, double &theMax) const |
| | Calculate and return minimal and maximal distance to sphere. NOTE: This function is tightly optimized; any modifications may affect performance!
|
| |
| void | SquareDistances (const gp_XYZ &theXYZ, double &theMin, double &theMax) const |
| | Calculate and return minimal and maximal distance to sphere. NOTE: This function is tightly optimized; any modifications may affect performance!
|
| |
| bool | Project (const gp_XYZ &theNode, gp_XYZ &theProjNode, double &theDist, bool &theInside) const |
| | Projects a point on entity. Returns true if success.
|
| |
| double | Distance (const gp_XYZ &theNode) const |
| |
| double | SquareDistance (const gp_XYZ &theNode) const |
| |
| void | Add (const Bnd_Sphere &theOther) |
| |
| bool | IsOut (const Bnd_Sphere &theOther) const |
| |
| bool | IsOut (const gp_XYZ &thePnt, double &theMaxDist) const |
| |
| double | SquareExtent () const |
| |
This class represents a bounding sphere of a geometric entity (triangle, segment of line or whatever else).