|
Open CASCADE Technology
6.7.1
|
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 () | |
| BRepExtrema_SolutionElem (const Standard_Real d, const gp_Pnt &Pt, const BRepExtrema_SupportType SolType, const TopoDS_Vertex &vertex) | |
| initialisation of the fields This constructor is used when the solution of a distance is a Vertex. The different initialized fields are: _ the distance d _ the solution point _ the type of solution _ and the Vertex. More... | |
| BRepExtrema_SolutionElem (const Standard_Real d, const gp_Pnt &Pt, const BRepExtrema_SupportType SolType, const TopoDS_Edge &edge, const Standard_Real t) | |
| initialisation of the fiels. This constructor is used when the solution of distance is on an Edge. The different initialized fields are: _ the distance d, _ the solution point, _ the type of solution, _ the Edge, _ and the parameter t to locate the solution. More... | |
| BRepExtrema_SolutionElem (const Standard_Real d, const gp_Pnt &Pt, const BRepExtrema_SupportType SolType, const TopoDS_Face &face, const Standard_Real u, const Standard_Real v) | |
| initialisation of the fields This constructor is used when the solution of distance is in a Face. The different initialized fields are: _ the distance d, _ the solution point, _ the type of solution, _ the Face, _ and the parameter u et v to locate the solution. 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 &par1) const |
| returns the parameter t if the solution is on Edge. More... | |
| void | FaceParameter (Standard_Real &par1, Standard_Real &par2) const |
| returns the parameters u et 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 |
|
inline |
initialisation of the fields
This constructor is used when the solution of a distance is a Vertex.
The different initialized fields are:
_ the distance d
_ the solution point
_ the type of solution
_ and the Vertex.
|
inline |
initialisation of the fiels.
This constructor is used when the solution of distance is on an Edge.
The different initialized fields are:
_ the distance d,
_ the solution point,
_ the type of solution,
_ the Edge,
_ and the parameter t to locate the solution.
|
inline |
initialisation of the fields
This constructor is used when the solution of distance is in
a Face. The different initialized fields are:
_ the distance d,
_ the solution point,
_ the type of solution,
_ the Face,
_ and the parameter u et v 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 t if the solution is on Edge.
|
inline |
returns the vertex if the solution is an Face.
|
inline |
returns the parameters u et 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.
1.8.5