Computes the intersection between a face and a curve. To intersect one curve with shape method Init(Shape, curve, tTol) should be used. To intersect a few curves with specified shape it is necessary to load shape one time using method Load(shape, tol) and find intersection points for each curve using method Init(curve). For iteration by intersection points method More() and Next() should be used.
More...
#include <BRepIntCurveSurface_Inter.hxx>
Computes the intersection between a face and a curve. To intersect one curve with shape method Init(Shape, curve, tTol) should be used. To intersect a few curves with specified shape it is necessary to load shape one time using method Load(shape, tol) and find intersection points for each curve using method Init(curve). For iteration by intersection points method More() and Next() should be used.
Example: Inter.Load(shape, tol); for( i =1; i <= nbCurves;i++) { Inter.Init(curve); for( ;Inter.More(); Inter.Next()) { ....... } }
◆ BRepIntCurveSurface_Inter()
BRepIntCurveSurface_Inter::BRepIntCurveSurface_Inter |
( |
| ) |
|
◆ Clear()
void BRepIntCurveSurface_Inter::Clear |
( |
| ) |
|
|
protected |
Method to clear fields of class.
◆ Face()
const TopoDS_Face & BRepIntCurveSurface_Inter::Face |
( |
| ) |
const |
returns the current face.
◆ Find()
void BRepIntCurveSurface_Inter::Find |
( |
| ) |
|
|
protected |
◆ FindPoint()
Method chec found intersection point.
◆ Init() [1/3]
Method to find intersections of specified curve with loaded shape.
◆ Init() [2/3]
Load the Shape, the curve and initialize the tolerance used for the classification.
◆ Init() [3/3]
Load the Shape, the curve and initialize the tolerance used for the classification.
◆ Load()
Load the Shape, and initialize the tolerance used for the classification.
◆ More()
returns True if there is a current face.
◆ Next()
void BRepIntCurveSurface_Inter::Next |
( |
| ) |
|
Sets the next intersection point to check.
◆ Pnt()
const gp_Pnt & BRepIntCurveSurface_Inter::Pnt |
( |
| ) |
const |
returns the current geometric Point
◆ Point()
returns the current Intersection point.
◆ State()
returns the current state (IN or ON)
◆ Transition()
returns the transition of the line on the surface (IN or OUT or UNKNOWN)
◆ U()
returns the U parameter of the current point on the current face.
◆ V()
returns the V parameter of the current point on the current face.
◆ W()
returns the parameter of the current point on the curve.
The documentation for this class was generated from the following file: