This class is used to store information relative to the minimum distance between two shapes.
More...
|
| BRepExtrema_SolutionElem () |
| Empty constructor.
|
|
| 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:
|
|
| 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:
|
|
| 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:
|
|
Standard_Real | 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 (Standard_Real &theParam) const |
| Returns the parameter value if the solution is on Edge.
|
|
void | FaceParameter (Standard_Real &theU, Standard_Real &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.