OCC.BRepClass module¶
The BRepClass packages provides classificationalgorithms for the BRep topology. It instantiatesthe algorithms from the package TopClass.
- 
class BRepClass_Edge(*args)¶
- Bases: - object- Return type: - Parameters: - E (TopoDS_Edge &) –
- F (TopoDS_Face &) –
 - Return type: - 
Edge()¶
- Return type: - TopoDS_Edge 
 - 
Face()¶
- Return type: - TopoDS_Face 
 - 
thisown¶
- The membership flag 
 
- 
class BRepClass_FClass2dOfFClassifier(*args)¶
- Bases: - object- Return type: - None - 
Intersector()¶
- Return type: - BRepClass_Intersector 
 - 
State()¶
- Return type: - TopAbs_State 
 - 
thisown¶
- The membership flag 
 
- 
- 
class BRepClass_FClassifier(*args)¶
- Bases: - object- Return type: - Parameters: - Return type: - 
Edge()¶
- Return type: - BRepClass_Edge 
 - 
Position()¶
- Return type: - IntRes2d_Position 
 - 
State()¶
- Return type: - TopAbs_State 
 - 
thisown¶
- The membership flag 
 
- 
- 
class BRepClass_FaceExplorer(*args)¶
- Bases: - object- Parameters: - F (TopoDS_Face &) – - Return type: - None - 
CurrentEdge()¶
- Current edge in current wire and its orientation.
 - Parameters: - E (BRepClass_Edge &) –
- Or (TopAbs_Orientation &) –
 - Return type: 
 - 
OtherSegment()¶
- Returns in <L>, <Par> a segment having at least one intersection with the face boundary to compute intersections. Each call gives another segment.
 - Parameters: - Return type: 
 - 
Reject()¶
- Should return True if the point is outside a bounding volume of the face.
 - Parameters: - P (gp_Pnt2d) – - Return type: - bool 
 - 
RejectEdge()¶
- Returns True if the edge bounding volume does not intersect the segment.
 - Parameters: - Return type: 
 - 
RejectWire()¶
- Returns True if the wire bounding volume does not intersect the segment.
 - Parameters: - Return type: 
 - 
Segment()¶
- Returns in <L>, <Par> a segment having at least one intersection with the face boundary to compute intersections.
 - Parameters: - Return type: 
 - 
thisown¶
- The membership flag 
 
- 
- 
class BRepClass_FacePassiveClassifier(*args)¶
- Bases: - object- Return type: - None - 
Intersector()¶
- Return type: - BRepClass_Intersector 
 - 
State()¶
- Return type: - TopAbs_State 
 - 
thisown¶
- The membership flag 
 
- 
- 
class BRepClass_Intersector(*args)¶
- Bases: - OCC.Geom2dInt.Geom2dInt_IntConicCurveOfGInter- Return type: - None - 
LocalGeometry()¶
- Returns in <T>, <N> and <C> the tangent, normal and curvature of the edge <E> at parameter value <U>.
 - Parameters: - Return type: 
 - 
Perform()¶
- Intersect the line segment and the edge.
 - Parameters: - Return type: 
 - 
thisown¶
- The membership flag 
 
- 
- 
class SwigPyIterator(*args, **kwargs)¶
- Bases: - object- 
advance()¶
 - 
copy()¶
 - 
decr()¶
 - 
distance()¶
 - 
equal()¶
 - 
incr()¶
 - 
next()¶
 - 
previous()¶
 - 
thisown¶
- The membership flag 
 - 
value()¶
 
- 
- 
new_instancemethod(func, inst, cls)¶
- 
register_handle(handle, base_object)¶
- Inserts the handle into the base object to prevent memory corruption in certain cases