Open CASCADE Technology
6.5.4
|
#include <Geom2dHatch_Intersector.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | Geom2dHatch_Intersector (const Standard_Real Confusion, const Standard_Real Tangency) |
Creates an intersector. | |
Standard_Real | ConfusionTolerance () const |
Returns the confusion tolerance of the intersector. | |
void | SetConfusionTolerance (const Standard_Real Confusion) |
Sets the confusion tolerance of the intersector. | |
Standard_Real | TangencyTolerance () const |
Returns the tangency tolerance of the intersector. | |
void | SetTangencyTolerance (const Standard_Real Tangency) |
Sets the tangency tolerance of the intersector. | |
void | Intersect (const Geom2dAdaptor_Curve &C1, const Geom2dAdaptor_Curve &C2) |
Intersects the curves C1 and C2. The results are retreived by the usual methods described in IntRes2d_Intersection. //! Creates an intersector. | |
Geom2dHatch_Intersector () | |
void | Perform (const gp_Lin2d &L, const Standard_Real P, const Standard_Real Tol, const Geom2dAdaptor_Curve &E) |
Performs the intersection between the 2d line segment (<L>,. | |
void | LocalGeometry (const Geom2dAdaptor_Curve &E, const Standard_Real U, gp_Dir2d &T, gp_Dir2d &N, Standard_Real &C) const |
Returns in <T>, <N> and the tangent, normal |
DEFINE_STANDARD_ALLOC Geom2dHatch_Intersector::Geom2dHatch_Intersector | ( | const Standard_Real | Confusion, |
const Standard_Real | Tangency | ||
) |
void Geom2dHatch_Intersector::Intersect | ( | const Geom2dAdaptor_Curve & | C1, |
const Geom2dAdaptor_Curve & | C2 | ||
) |
void Geom2dHatch_Intersector::LocalGeometry | ( | const Geom2dAdaptor_Curve & | E, |
const Standard_Real | U, | ||
gp_Dir2d & | T, | ||
gp_Dir2d & | N, | ||
Standard_Real & | C | ||
) | const |
void Geom2dHatch_Intersector::Perform | ( | const gp_Lin2d & | L, |
const Standard_Real | P, | ||
const Standard_Real | Tol, | ||
const Geom2dAdaptor_Curve & | E | ||
) |
) and the Curve <E>. The line
segment is the part of the 2d line <L> of
parameter range [0,
] (P is positive and can be
RealLast()). Tol is the Tolerance on the segment.
The order is relevant, the first argument is the
segment, the second the Edge.