Open CASCADE Technology  7.2.0
Public Member Functions
BRepClass_FaceExplorer Class Reference

Provide an exploration of a BRep Face for the classification. Return UV edges. More...

#include <BRepClass_FaceExplorer.hxx>

Public Member Functions

 BRepClass_FaceExplorer (const TopoDS_Face &F)
 
Standard_Boolean CheckPoint (gp_Pnt2d &thePoint)
 Checks the point and change its coords if it is located too far from the bounding box of the face. New Coordinates of the point will be on the line between the point and the center of the bounding box. Returns True if point was not changed. More...
 
Standard_Boolean Reject (const gp_Pnt2d &P) const
 Should return True if the point is outside a bounding volume of the face. More...
 
Standard_Boolean Segment (const gp_Pnt2d &P, gp_Lin2d &L, Standard_Real &Par)
 Returns in <L>, <Par> a segment having at least one intersection with the face boundary to compute intersections. More...
 
Standard_Boolean OtherSegment (const gp_Pnt2d &P, gp_Lin2d &L, Standard_Real &Par)
 Returns in <L>, <Par> a segment having at least one intersection with the face boundary to compute intersections. Each call gives another segment. More...
 
void InitWires ()
 Starts an exploration of the wires. More...
 
Standard_Boolean MoreWires () const
 Returns True if there is a current wire. More...
 
void NextWire ()
 Sets the explorer to the next wire. More...
 
Standard_Boolean RejectWire (const gp_Lin2d &L, const Standard_Real Par) const
 Returns True if the wire bounding volume does not intersect the segment. More...
 
void InitEdges ()
 Starts an exploration of the edges of the current wire. More...
 
Standard_Boolean MoreEdges () const
 Returns True if there is a current edge. More...
 
void NextEdge ()
 Sets the explorer to the next edge. More...
 
Standard_Boolean RejectEdge (const gp_Lin2d &L, const Standard_Real Par) const
 Returns True if the edge bounding volume does not intersect the segment. More...
 
void CurrentEdge (BRepClass_Edge &E, TopAbs_Orientation &Or) const
 Current edge in current wire and its orientation. More...
 

Detailed Description

Provide an exploration of a BRep Face for the classification. Return UV edges.

Constructor & Destructor Documentation

◆ BRepClass_FaceExplorer()

BRepClass_FaceExplorer::BRepClass_FaceExplorer ( const TopoDS_Face F)

Member Function Documentation

◆ CheckPoint()

Standard_Boolean BRepClass_FaceExplorer::CheckPoint ( gp_Pnt2d thePoint)

Checks the point and change its coords if it is located too far from the bounding box of the face. New Coordinates of the point will be on the line between the point and the center of the bounding box. Returns True if point was not changed.

◆ CurrentEdge()

void BRepClass_FaceExplorer::CurrentEdge ( BRepClass_Edge E,
TopAbs_Orientation Or 
) const

Current edge in current wire and its orientation.

◆ InitEdges()

void BRepClass_FaceExplorer::InitEdges ( )

Starts an exploration of the edges of the current wire.

◆ InitWires()

void BRepClass_FaceExplorer::InitWires ( )

Starts an exploration of the wires.

◆ MoreEdges()

Standard_Boolean BRepClass_FaceExplorer::MoreEdges ( ) const

Returns True if there is a current edge.

◆ MoreWires()

Standard_Boolean BRepClass_FaceExplorer::MoreWires ( ) const

Returns True if there is a current wire.

◆ NextEdge()

void BRepClass_FaceExplorer::NextEdge ( )

Sets the explorer to the next edge.

◆ NextWire()

void BRepClass_FaceExplorer::NextWire ( )

Sets the explorer to the next wire.

◆ OtherSegment()

Standard_Boolean BRepClass_FaceExplorer::OtherSegment ( const gp_Pnt2d P,
gp_Lin2d L,
Standard_Real Par 
)

Returns in <L>, <Par> a segment having at least one intersection with the face boundary to compute intersections. Each call gives another segment.

◆ Reject()

Standard_Boolean BRepClass_FaceExplorer::Reject ( const gp_Pnt2d P) const

Should return True if the point is outside a bounding volume of the face.

◆ RejectEdge()

Standard_Boolean BRepClass_FaceExplorer::RejectEdge ( const gp_Lin2d L,
const Standard_Real  Par 
) const

Returns True if the edge bounding volume does not intersect the segment.

◆ RejectWire()

Standard_Boolean BRepClass_FaceExplorer::RejectWire ( const gp_Lin2d L,
const Standard_Real  Par 
) const

Returns True if the wire bounding volume does not intersect the segment.

◆ Segment()

Standard_Boolean BRepClass_FaceExplorer::Segment ( const gp_Pnt2d P,
gp_Lin2d L,
Standard_Real Par 
)

Returns in <L>, <Par> a segment having at least one intersection with the face boundary to compute intersections.


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