Open CASCADE Technology 7.8.0
|
Fixing disconnected edges in the wire Fixes vertices in the wire on the basis of pre-analysis made by ShapeAnalysis_WireVertex (given as argument). The Wire has formerly been loaded in a ShapeExtend_WireData. More...
#include <ShapeFix_WireVertex.hxx>
Public Member Functions | |
ShapeFix_WireVertex () | |
void | Init (const TopoDS_Wire &wire, const Standard_Real preci) |
Loads the wire, ininializes internal analyzer (ShapeAnalysis_WireVertex) with the given precision, and performs analysis. | |
void | Init (const Handle< ShapeExtend_WireData > &sbwd, const Standard_Real preci) |
Loads the wire, ininializes internal analyzer (ShapeAnalysis_WireVertex) with the given precision, and performs analysis. | |
void | Init (const ShapeAnalysis_WireVertex &sawv) |
Loads all the data on wire, already analysed by ShapeAnalysis_WireVertex. | |
const ShapeAnalysis_WireVertex & | Analyzer () const |
returns internal analyzer | |
const Handle< ShapeExtend_WireData > & | WireData () const |
returns data on wire (fixed) | |
TopoDS_Wire | Wire () const |
returns resulting wire (fixed) | |
Standard_Integer | FixSame () |
Fixes "Same" or "Close" status (same vertex may be set, without changing parameters) Returns the count of fixed vertices, 0 if none. | |
Standard_Integer | Fix () |
Fixes all statuses except "Disjoined", i.e. the cases in which a common value has been set, with or without changing parameters Returns the count of fixed vertices, 0 if none. | |
Fixing disconnected edges in the wire Fixes vertices in the wire on the basis of pre-analysis made by ShapeAnalysis_WireVertex (given as argument). The Wire has formerly been loaded in a ShapeExtend_WireData.
ShapeFix_WireVertex::ShapeFix_WireVertex | ( | ) |
const ShapeAnalysis_WireVertex & ShapeFix_WireVertex::Analyzer | ( | ) | const |
returns internal analyzer
Standard_Integer ShapeFix_WireVertex::Fix | ( | ) |
Fixes all statuses except "Disjoined", i.e. the cases in which a common value has been set, with or without changing parameters Returns the count of fixed vertices, 0 if none.
Standard_Integer ShapeFix_WireVertex::FixSame | ( | ) |
Fixes "Same" or "Close" status (same vertex may be set, without changing parameters) Returns the count of fixed vertices, 0 if none.
void ShapeFix_WireVertex::Init | ( | const Handle< ShapeExtend_WireData > & | sbwd, |
const Standard_Real | preci | ||
) |
Loads the wire, ininializes internal analyzer (ShapeAnalysis_WireVertex) with the given precision, and performs analysis.
void ShapeFix_WireVertex::Init | ( | const ShapeAnalysis_WireVertex & | sawv | ) |
Loads all the data on wire, already analysed by ShapeAnalysis_WireVertex.
void ShapeFix_WireVertex::Init | ( | const TopoDS_Wire & | wire, |
const Standard_Real | preci | ||
) |
Loads the wire, ininializes internal analyzer (ShapeAnalysis_WireVertex) with the given precision, and performs analysis.
TopoDS_Wire ShapeFix_WireVertex::Wire | ( | ) | const |
returns resulting wire (fixed)
const Handle< ShapeExtend_WireData > & ShapeFix_WireVertex::WireData | ( | ) | const |
returns data on wire (fixed)