Open CASCADE Technology 6.6.0
|
This class is intended to calculate shape free bounds
properties.
This class provides the following functionalities:
More...
#include <ShapeAnalysis_FreeBoundsProperties.hxx>
Public Member Functions | |
ShapeAnalysis_FreeBoundsProperties () | |
Empty constructor | |
ShapeAnalysis_FreeBoundsProperties (const TopoDS_Shape &shape, const Standard_Real tolerance, const Standard_Boolean splitclosed=Standard_False, const Standard_Boolean splitopen=Standard_False) | |
Creates the object and calls corresponding Init. <shape> should be a compound of faces. | |
ShapeAnalysis_FreeBoundsProperties (const TopoDS_Shape &shape, const Standard_Boolean splitclosed=Standard_False, const Standard_Boolean splitopen=Standard_False) | |
Creates the object and calls corresponding Init. <shape> should be a compound of shells. | |
void | Init (const TopoDS_Shape &shape, const Standard_Real tolerance, const Standard_Boolean splitclosed=Standard_False, const Standard_Boolean splitopen=Standard_False) |
Initializes the object with given parameters. <shape> should be a compound of faces. | |
void | Init (const TopoDS_Shape &shape, const Standard_Boolean splitclosed=Standard_False, const Standard_Boolean splitopen=Standard_False) |
Initializes the object with given parameters. <shape> should be a compound of shells. | |
Standard_Boolean | Perform () |
Builds and analyzes free bounds of the shape. First calls ShapeAnalysis_FreeBounds for building free bounds. Then on each free bound computes its properties: | |
Standard_Boolean | IsLoaded () const |
Returns True if shape is loaded | |
TopoDS_Shape | Shape () const |
Returns shape | |
Standard_Real | Tolerance () const |
Returns tolerance | |
Standard_Integer | NbFreeBounds () const |
Returns number of free bounds | |
Standard_Integer | NbClosedFreeBounds () const |
Returns number of closed free bounds | |
Standard_Integer | NbOpenFreeBounds () const |
Returns number of open free bounds | |
Handle_ShapeAnalysis_HSequenceOfFreeBounds | ClosedFreeBounds () const |
Returns all closed free bounds | |
Handle_ShapeAnalysis_HSequenceOfFreeBounds | OpenFreeBounds () const |
Returns all open free bounds | |
Handle_ShapeAnalysis_FreeBoundData | ClosedFreeBound (const Standard_Integer index) const |
Returns properties of closed free bound specified by its rank number | |
Handle_ShapeAnalysis_FreeBoundData | OpenFreeBound (const Standard_Integer index) const |
Returns properties of open free bound specified by its rank number | |
Standard_Boolean | DispatchBounds () |
Standard_Boolean | CheckContours (const Standard_Real prec=0.0) |
Standard_Boolean | CheckNotches (const Standard_Real prec=0.0) |
Standard_Boolean | CheckNotches (Handle< ShapeAnalysis_FreeBoundData > &fbData, const Standard_Real prec=0.0) |
Standard_Boolean | CheckNotches (const TopoDS_Wire &freebound, const Standard_Integer num, TopoDS_Wire ¬ch, Standard_Real &distMax, const Standard_Real prec=0.0) |
Standard_Boolean | FillProperties (Handle< ShapeAnalysis_FreeBoundData > &fbData, const Standard_Real prec=0.0) |
ShapeAnalysis_FreeBoundsProperties::ShapeAnalysis_FreeBoundsProperties | ( | ) |
ShapeAnalysis_FreeBoundsProperties::ShapeAnalysis_FreeBoundsProperties | ( | const TopoDS_Shape & | shape, |
const Standard_Real | tolerance, | ||
const Standard_Boolean | splitclosed = Standard_False , |
||
const Standard_Boolean | splitopen = Standard_False |
||
) |
ShapeAnalysis_FreeBoundsProperties::ShapeAnalysis_FreeBoundsProperties | ( | const TopoDS_Shape & | shape, |
const Standard_Boolean | splitclosed = Standard_False , |
||
const Standard_Boolean | splitopen = Standard_False |
||
) |
Standard_Boolean ShapeAnalysis_FreeBoundsProperties::CheckContours | ( | const Standard_Real | prec = 0.0 | ) |
Standard_Boolean ShapeAnalysis_FreeBoundsProperties::CheckNotches | ( | const Standard_Real | prec = 0.0 | ) |
Standard_Boolean ShapeAnalysis_FreeBoundsProperties::CheckNotches | ( | Handle< ShapeAnalysis_FreeBoundData > & | fbData, |
const Standard_Real | prec = 0.0 |
||
) |
Standard_Boolean ShapeAnalysis_FreeBoundsProperties::CheckNotches | ( | const TopoDS_Wire & | freebound, |
const Standard_Integer | num, | ||
TopoDS_Wire & | notch, | ||
Standard_Real & | distMax, | ||
const Standard_Real | prec = 0.0 |
||
) |
Handle_ShapeAnalysis_FreeBoundData ShapeAnalysis_FreeBoundsProperties::ClosedFreeBound | ( | const Standard_Integer | index | ) | const |
Handle_ShapeAnalysis_HSequenceOfFreeBounds ShapeAnalysis_FreeBoundsProperties::ClosedFreeBounds | ( | ) | const |
Standard_Boolean ShapeAnalysis_FreeBoundsProperties::DispatchBounds | ( | ) |
Standard_Boolean ShapeAnalysis_FreeBoundsProperties::FillProperties | ( | Handle< ShapeAnalysis_FreeBoundData > & | fbData, |
const Standard_Real | prec = 0.0 |
||
) |
void ShapeAnalysis_FreeBoundsProperties::Init | ( | const TopoDS_Shape & | shape, |
const Standard_Real | tolerance, | ||
const Standard_Boolean | splitclosed = Standard_False , |
||
const Standard_Boolean | splitopen = Standard_False |
||
) |
void ShapeAnalysis_FreeBoundsProperties::Init | ( | const TopoDS_Shape & | shape, |
const Standard_Boolean | splitclosed = Standard_False , |
||
const Standard_Boolean | splitopen = Standard_False |
||
) |
Standard_Boolean ShapeAnalysis_FreeBoundsProperties::IsLoaded | ( | ) | const |
Standard_Integer ShapeAnalysis_FreeBoundsProperties::NbClosedFreeBounds | ( | ) | const |
Standard_Integer ShapeAnalysis_FreeBoundsProperties::NbFreeBounds | ( | ) | const |
Standard_Integer ShapeAnalysis_FreeBoundsProperties::NbOpenFreeBounds | ( | ) | const |
Handle_ShapeAnalysis_FreeBoundData ShapeAnalysis_FreeBoundsProperties::OpenFreeBound | ( | const Standard_Integer | index | ) | const |
Handle_ShapeAnalysis_HSequenceOfFreeBounds ShapeAnalysis_FreeBoundsProperties::OpenFreeBounds | ( | ) | const |
Standard_Boolean ShapeAnalysis_FreeBoundsProperties::Perform | ( | ) |
TopoDS_Shape ShapeAnalysis_FreeBoundsProperties::Shape | ( | ) | const |
Standard_Real ShapeAnalysis_FreeBoundsProperties::Tolerance | ( | ) | const |