#include <CTiglIntersectionCalculation.h>
Public Member Functions | |
| TIGL_EXPORT | CTiglIntersectionCalculation (CTiglShapeCache &cache, const std::string &intersectionID) |
| TIGL_EXPORT | CTiglIntersectionCalculation (CTiglShapeCache *cache, const std::string &idOne, const std::string &idTwo, TopoDS_Shape compoundOne, TopoDS_Shape compoundTwo) |
| TIGL_EXPORT | CTiglIntersectionCalculation (CTiglShapeCache *cache, const std::string &shapeID, TopoDS_Shape shape, gp_Pnt point, gp_Dir normal) |
| TIGL_EXPORT | CTiglIntersectionCalculation (CTiglShapeCache *cache, const std::string &shapeID, TopoDS_Shape shape, gp_Pnt point1, gp_Pnt point2, gp_Dir normal, bool forceOrthogonal) |
| TIGL_EXPORT | CTiglIntersectionCalculation (CTiglShapeCache *cache, const std::string &wireID1, int wireIdx1, const std::string &wireID2, int wireIdx2, double tol=1e-7) |
| TIGL_EXPORT int | GetCountIntersectionLines () |
| TIGL_EXPORT int | GetCountIntersectionPoints () |
| TIGL_EXPORT const std::string & | GetID () |
| TIGL_EXPORT gp_Pnt | GetPoint (double zeta, int wireID) |
| TIGL_EXPORT TopoDS_Vertex | GetVertex (int vertexID) |
| TIGL_EXPORT TopoDS_Wire | GetWire (int wireID) |
| virtual TIGL_EXPORT | ~CTiglIntersectionCalculation () |
Protected Member Functions | |
| void | computeIntersection (CTiglShapeCache *cache, size_t hashOne, size_t hashTwo, TopoDS_Shape compoundOne, TopoDS_Shape compoundTwo) |
Private Attributes | |
| std::string | id |
| TopoDS_Compound | intersectionResult |
| Standard_Real | tolerance |
| TIGL_EXPORT tigl::CTiglIntersectionCalculation::CTiglIntersectionCalculation | ( | CTiglShapeCache * | cache, |
| const std::string & | idOne, | ||
| const std::string & | idTwo, | ||
| TopoDS_Shape | compoundOne, | ||
| TopoDS_Shape | compoundTwo ) |
| TIGL_EXPORT tigl::CTiglIntersectionCalculation::CTiglIntersectionCalculation | ( | CTiglShapeCache * | cache, |
| const std::string & | shapeID, | ||
| TopoDS_Shape | shape, | ||
| gp_Pnt | point, | ||
| gp_Dir | normal ) |
| TIGL_EXPORT tigl::CTiglIntersectionCalculation::CTiglIntersectionCalculation | ( | CTiglShapeCache * | cache, |
| const std::string & | shapeID, | ||
| TopoDS_Shape | shape, | ||
| gp_Pnt | point1, | ||
| gp_Pnt | point2, | ||
| gp_Dir | normal, | ||
| bool | forceOrthogonal ) |
| TIGL_EXPORT tigl::CTiglIntersectionCalculation::CTiglIntersectionCalculation | ( | CTiglShapeCache * | cache, |
| const std::string & | wireID1, | ||
| int | wireIdx1, | ||
| const std::string & | wireID2, | ||
| int | wireIdx2, | ||
| double | tol = 1e-7 ) |
| TIGL_EXPORT tigl::CTiglIntersectionCalculation::CTiglIntersectionCalculation | ( | CTiglShapeCache & | cache, |
| const std::string & | intersectionID ) |
|
virtual |
|
protected |
| TIGL_EXPORT int tigl::CTiglIntersectionCalculation::GetCountIntersectionLines | ( | ) |
| TIGL_EXPORT int tigl::CTiglIntersectionCalculation::GetCountIntersectionPoints | ( | ) |
| TIGL_EXPORT const std::string & tigl::CTiglIntersectionCalculation::GetID | ( | ) |
| TIGL_EXPORT gp_Pnt tigl::CTiglIntersectionCalculation::GetPoint | ( | double | zeta, |
| int | wireID ) |
| TIGL_EXPORT TopoDS_Vertex tigl::CTiglIntersectionCalculation::GetVertex | ( | int | vertexID | ) |
| TIGL_EXPORT TopoDS_Wire tigl::CTiglIntersectionCalculation::GetWire | ( | int | wireID | ) |
|
private |
|
private |
|
private |