3.5.0-rc1
Loading...
Searching...
No Matches
tigl::CTiglIntersectionCalculation Class Reference

#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

Constructor & Destructor Documentation

◆ CTiglIntersectionCalculation() [1/5]

TIGL_EXPORT tigl::CTiglIntersectionCalculation::CTiglIntersectionCalculation ( CTiglShapeCache * cache,
const std::string & idOne,
const std::string & idTwo,
TopoDS_Shape compoundOne,
TopoDS_Shape compoundTwo )

◆ CTiglIntersectionCalculation() [2/5]

TIGL_EXPORT tigl::CTiglIntersectionCalculation::CTiglIntersectionCalculation ( CTiglShapeCache * cache,
const std::string & shapeID,
TopoDS_Shape shape,
gp_Pnt point,
gp_Dir normal )

◆ CTiglIntersectionCalculation() [3/5]

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 )

◆ CTiglIntersectionCalculation() [4/5]

TIGL_EXPORT tigl::CTiglIntersectionCalculation::CTiglIntersectionCalculation ( CTiglShapeCache * cache,
const std::string & wireID1,
int wireIdx1,
const std::string & wireID2,
int wireIdx2,
double tol = 1e-7 )

◆ CTiglIntersectionCalculation() [5/5]

TIGL_EXPORT tigl::CTiglIntersectionCalculation::CTiglIntersectionCalculation ( CTiglShapeCache & cache,
const std::string & intersectionID )

◆ ~CTiglIntersectionCalculation()

virtual TIGL_EXPORT tigl::CTiglIntersectionCalculation::~CTiglIntersectionCalculation ( )
virtual

Member Function Documentation

◆ computeIntersection()

void tigl::CTiglIntersectionCalculation::computeIntersection ( CTiglShapeCache * cache,
size_t hashOne,
size_t hashTwo,
TopoDS_Shape compoundOne,
TopoDS_Shape compoundTwo )
protected

◆ GetCountIntersectionLines()

TIGL_EXPORT int tigl::CTiglIntersectionCalculation::GetCountIntersectionLines ( )

◆ GetCountIntersectionPoints()

TIGL_EXPORT int tigl::CTiglIntersectionCalculation::GetCountIntersectionPoints ( )

◆ GetID()

TIGL_EXPORT const std::string & tigl::CTiglIntersectionCalculation::GetID ( )

◆ GetPoint()

TIGL_EXPORT gp_Pnt tigl::CTiglIntersectionCalculation::GetPoint ( double zeta,
int wireID )

◆ GetVertex()

TIGL_EXPORT TopoDS_Vertex tigl::CTiglIntersectionCalculation::GetVertex ( int vertexID)

◆ GetWire()

TIGL_EXPORT TopoDS_Wire tigl::CTiglIntersectionCalculation::GetWire ( int wireID)

Field Documentation

◆ id

std::string tigl::CTiglIntersectionCalculation::id
private

◆ intersectionResult

TopoDS_Compound tigl::CTiglIntersectionCalculation::intersectionResult
private

◆ tolerance

Standard_Real tigl::CTiglIntersectionCalculation::tolerance
private

The documentation for this class was generated from the following file: