The class is a container of one 3D curve, two 2D curves and two Tolerance values.
It is used in the Face/Face intersection algorithm to store the results of intersection. In this context:
the 3D curve is the intersection curve;
the 2D curves are the PCurves of the 3D curve on the intersecting faces;
the tolerance is the valid tolerance for 3D curve computed as maximal deviation between 3D curve and 2D curves (or surfaces in case there are no 2D curves);
the tangential tolerance is the maximal distance from 3D curve to the end of the tangential zone between faces in terms of their tolerance values.
More...
|
| IntTools_Curve () |
| Empty constructor. More...
|
|
| IntTools_Curve (const Handle< Geom_Curve > &the3dCurve3d, const Handle< Geom2d_Curve > &the2dCurve1, const Handle< Geom2d_Curve > &the2dCurve2, const Standard_Real theTolerance=0.0, const Standard_Real theTangentialTolerance=0.0) |
| Constructor taking 3d curve, two 2d curves and two tolerance values. More...
|
|
void | SetCurves (const Handle< Geom_Curve > &the3dCurve, const Handle< Geom2d_Curve > &the2dCurve1, const Handle< Geom2d_Curve > &the2dCurve2) |
| Sets the curves. More...
|
|
void | SetCurve (const Handle< Geom_Curve > &the3dCurve) |
| Sets the 3d curve. More...
|
|
void | SetFirstCurve2d (const Handle< Geom2d_Curve > &the2dCurve1) |
| Sets the first 2d curve. More...
|
|
void | SetSecondCurve2d (const Handle< Geom2d_Curve > &the2dCurve2) |
| Sets the second 2d curve. More...
|
|
void | SetTolerance (const Standard_Real theTolerance) |
| Sets the tolerance for the curve. More...
|
|
void | SetTangentialTolerance (const Standard_Real theTangentialTolerance) |
| Sets the tangential tolerance. More...
|
|
const Handle< Geom_Curve > & | Curve () const |
| Returns 3d curve. More...
|
|
const Handle< Geom2d_Curve > & | FirstCurve2d () const |
| Returns first 2d curve. More...
|
|
const Handle< Geom2d_Curve > & | SecondCurve2d () const |
| Returns second 2d curve. More...
|
|
Standard_Real | Tolerance () const |
| Returns the tolerance. More...
|
|
Standard_Real | TangentialTolerance () const |
| Returns the tangential tolerance. More...
|
|
Standard_Boolean | HasBounds () const |
| Returns TRUE if 3d curve is BoundedCurve. More...
|
|
Standard_Boolean | Bounds (Standard_Real &theFirst, Standard_Real &theLast, gp_Pnt &theFirstPnt, gp_Pnt &theLastPnt) const |
| If the 3d curve is bounded curve the method will return TRUE and modify the output parameters with boundary parameters of the curve and corresponded 3d points.
If the curve does not have bounds, the method will return false and the output parameters will stay untouched. More...
|
|
Standard_Boolean | D0 (const Standard_Real &thePar, gp_Pnt &thePnt) const |
| Computes 3d point corresponded to the given parameter if this parameter is inside the boundaries of the curve. Returns TRUE in this case.
Otherwise, the point will not be computed and the method will return FALSE. More...
|
|
GeomAbs_CurveType | Type () const |
| Returns the type of the 3d curve. More...
|
|
The class is a container of one 3D curve, two 2D curves and two Tolerance values.
It is used in the Face/Face intersection algorithm to store the results of intersection. In this context:
the 3D curve is the intersection curve;
the 2D curves are the PCurves of the 3D curve on the intersecting faces;
the tolerance is the valid tolerance for 3D curve computed as maximal deviation between 3D curve and 2D curves (or surfaces in case there are no 2D curves);
the tangential tolerance is the maximal distance from 3D curve to the end of the tangential zone between faces in terms of their tolerance values.