This class is used to store information relative to the minimum distance between two shapes.
More...
#include <BRepExtrema_SolutionElem.hxx>
|
| | BRepExtrema_SolutionElem () |
| | Empty constructor.
|
| |
| | BRepExtrema_SolutionElem (const double theDist, const gp_Pnt &thePoint, const BRepExtrema_SupportType theSolType, const TopoDS_Vertex &theVertex) |
| | This constructor is used when the solution of a distance is a Vertex. The different initialized fields are:
|
| |
| | BRepExtrema_SolutionElem (const double theDist, const gp_Pnt &thePoint, const BRepExtrema_SupportType theSolType, const TopoDS_Edge &theEdge, const double theParam) |
| | This constructor is used when the solution of distance is on an Edge. The different initialized fields are:
|
| |
| | BRepExtrema_SolutionElem (const double theDist, const gp_Pnt &thePoint, const BRepExtrema_SupportType theSolType, const TopoDS_Face &theFace, const double theU, const double theV) |
| | This constructor is used when the solution of distance is in a Face. The different initialized fields are:
|
| |
| double | Dist () const |
| | Returns the value of the minimum distance.
|
| |
| const gp_Pnt & | Point () const |
| | Returns the solution point.
|
| |
| BRepExtrema_SupportType | SupportKind () const |
| | Returns the Support type: IsVertex => The solution is a vertex. IsOnEdge => The solution belongs to an Edge. IsInFace => The solution is inside a Face.
|
| |
| const TopoDS_Vertex & | Vertex () const |
| | Returns the vertex if the solution is a Vertex.
|
| |
| const TopoDS_Edge & | Edge () const |
| | Returns the vertex if the solution is an Edge.
|
| |
| const TopoDS_Face & | Face () const |
| | Returns the vertex if the solution is an Face.
|
| |
| void | EdgeParameter (double &theParam) const |
| | Returns the parameter value if the solution is on Edge.
|
| |
| void | FaceParameter (double &theU, double &theV) const |
| | Returns the parameters U and V if the solution is in a Face.
|
| |
This class is used to store information relative to the minimum distance between two shapes.
◆ BRepExtrema_SolutionElem() [1/4]
| BRepExtrema_SolutionElem::BRepExtrema_SolutionElem |
( |
| ) |
|
|
inline |
◆ BRepExtrema_SolutionElem() [2/4]
This constructor is used when the solution of a distance is a Vertex. The different initialized fields are:
- Parameters
-
| theDist | the distance |
| thePoint | the solution point |
| theSolType | the type of solution |
| theVertex | and the Vertex |
◆ BRepExtrema_SolutionElem() [3/4]
This constructor is used when the solution of distance is on an Edge. The different initialized fields are:
- Parameters
-
| theDist | the distance |
| thePoint | the solution point |
| theSolType | the type of solution |
| theEdge | the Edge |
| theParam | the parameter to locate the solution |
◆ BRepExtrema_SolutionElem() [4/4]
This constructor is used when the solution of distance is in a Face. The different initialized fields are:
- Parameters
-
| theDist | the distance |
| thePoint | the solution point |
| theSolType | the type of solution |
| theFace | the Face |
| theU | U parameter to locate the solution |
| theV | V parameter to locate the solution |
◆ Dist()
| double BRepExtrema_SolutionElem::Dist |
( |
| ) |
const |
|
inline |
Returns the value of the minimum distance.
◆ Edge()
| const TopoDS_Edge & BRepExtrema_SolutionElem::Edge |
( |
| ) |
const |
|
inline |
Returns the vertex if the solution is an Edge.
◆ EdgeParameter()
| void BRepExtrema_SolutionElem::EdgeParameter |
( |
double & | theParam | ) |
const |
|
inline |
Returns the parameter value if the solution is on Edge.
◆ Face()
| const TopoDS_Face & BRepExtrema_SolutionElem::Face |
( |
| ) |
const |
|
inline |
Returns the vertex if the solution is an Face.
◆ FaceParameter()
| void BRepExtrema_SolutionElem::FaceParameter |
( |
double & | theU, |
|
|
double & | theV ) const |
|
inline |
Returns the parameters U and V if the solution is in a Face.
◆ Point()
| const gp_Pnt & BRepExtrema_SolutionElem::Point |
( |
| ) |
const |
|
inline |
Returns the solution point.
◆ SupportKind()
Returns the Support type: IsVertex => The solution is a vertex. IsOnEdge => The solution belongs to an Edge. IsInFace => The solution is inside a Face.
◆ Vertex()
Returns the vertex if the solution is a Vertex.
The documentation for this class was generated from the following file: