|
static TopoDS_Wire | ConcatenateWire (const TopoDS_Wire &Wire, const GeomAbs_Shape Option, const Standard_Real AngularTolerance=1.0e-4) |
| this method makes a wire whose edges are C1 from a Wire whose edges could be G1. It removes a vertex between G1 edges. Option can be G1 or C1.
|
|
static TopoDS_Edge | ConcatenateWireC0 (const TopoDS_Wire &Wire) |
| this method makes an edge from a wire. Junction points between edges of wire may be sharp, resulting curve of the resulting edge may be C0.
|
|
static TopoDS_Wire | ConvertWire (const TopoDS_Wire &theWire, const Standard_Real theAngleTolerance, const TopoDS_Face &theFace) |
| Method of wire conversion, calls BRepAlgo_Approx internally.
|
|
static TopoDS_Face | ConvertFace (const TopoDS_Face &theFace, const Standard_Real theAngleTolerance) |
| Method of face conversion. The API corresponds to the method ConvertWire. This is a shortcut for calling ConvertWire() for each wire in theFace.
|
|
static Standard_Boolean | IsValid (const TopoDS_Shape &S) |
| Checks if the shape is "correct". If not, returns <Standard_False>, else returns <Standard_True>.
|
|
static Standard_Boolean | IsValid (const TopTools_ListOfShape &theArgs, const TopoDS_Shape &theResult, const Standard_Boolean closedSolid=Standard_False, const Standard_Boolean GeomCtrl=Standard_True) |
| Checks if the Generated and Modified Faces from the shapes <arguments> in the shape <result> are "correct". The args may be empty, then all faces will be checked. If <Closed> is True, only closed shape are valid. If <GeomCtrl> is False the geometry of new vertices and edges are not verified and the auto-intersection of new wires are not searched.
|
|
static Standard_Boolean | IsTopologicallyValid (const TopoDS_Shape &S) |
| Checks if the shape is "correct". If not, returns FALSE, else returns TRUE. This method differs from the previous one in the fact that no geometric controls (intersection of wires, pcurve validity) are performed.
|
|
The BRepAlgo class provides the following tools for:
- Checking validity of the shape;
- Concatenation of the edges of the wire.