Open CASCADE Technology
7.2.0
|
This class is used to store information relative to the minimum distance between two shapes. More...
#include <BRepExtrema_SolutionElem.hxx>
Public Member Functions | |
BRepExtrema_SolutionElem () | |
Empty constructor. More... | |
BRepExtrema_SolutionElem (const Standard_Real 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: More... | |
BRepExtrema_SolutionElem (const Standard_Real theDist, const gp_Pnt &thePoint, const BRepExtrema_SupportType theSolType, const TopoDS_Edge &theEdge, const Standard_Real theParam) | |
This constructor is used when the solution of distance is on an Edge. The different initialized fields are: More... | |
BRepExtrema_SolutionElem (const Standard_Real theDist, const gp_Pnt &thePoint, const BRepExtrema_SupportType theSolType, const TopoDS_Face &theFace, const Standard_Real theU, const Standard_Real theV) | |
This constructor is used when the solution of distance is in a Face. The different initialized fields are: More... | |
Standard_Real | Dist () const |
Returns the value of the minimum distance. More... | |
const gp_Pnt & | Point () const |
Returns the solution point. More... | |
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. More... | |
const TopoDS_Vertex & | Vertex () const |
Returns the vertex if the solution is a Vertex. More... | |
const TopoDS_Edge & | Edge () const |
Returns the vertex if the solution is an Edge. More... | |
const TopoDS_Face & | Face () const |
Returns the vertex if the solution is an Face. More... | |
void | EdgeParameter (Standard_Real &theParam) const |
Returns the parameter value if the solution is on Edge. More... | |
void | FaceParameter (Standard_Real &theU, Standard_Real &theV) const |
Returns the parameters U and V if the solution is in a Face. More... | |
This class is used to store information relative to the minimum distance between two shapes.
|
inline |
Empty constructor.
|
inline |
This constructor is used when the solution of a distance is a Vertex. The different initialized fields are:
theDist | the distance |
thePoint | the solution point |
theSolType | the type of solution |
theVertex | and the Vertex |
|
inline |
This constructor is used when the solution of distance is on an Edge. The different initialized fields are:
theDist | the distance |
thePoint | the solution point |
theSolType | the type of solution |
theEdge | the Edge |
theParam | the parameter to locate the solution |
|
inline |
This constructor is used when the solution of distance is in a Face. The different initialized fields are:
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 |
|
inline |
Returns the value of the minimum distance.
|
inline |
Returns the vertex if the solution is an Edge.
|
inline |
Returns the parameter value if the solution is on Edge.
|
inline |
Returns the vertex if the solution is an Face.
|
inline |
Returns the parameters U and V if the solution is in a Face.
|
inline |
Returns the solution point.
|
inline |
Returns the Support type: IsVertex => The solution is a vertex. IsOnEdge => The solution belongs to an Edge. IsInFace => The solution is inside a Face.
|
inline |
Returns the vertex if the solution is a Vertex.