|
Public Member Functions |
| Standard_EXPORT | ShapeAnalysis_FreeBoundData () |
| | Empty constructor
.
|
| Standard_EXPORT | ShapeAnalysis_FreeBoundData (const TopoDS_Wire &freebound) |
| | Creates object with contour given in the form of TopoDS_Wire
.
|
| Standard_EXPORT void | Clear () |
| | Clears all properties of the contour.
Contour bound itself is not cleared.
.
|
| void | SetFreeBound (const TopoDS_Wire &freebound) |
| | Sets contour
.
|
| void | SetArea (const Standard_Real area) |
| | Sets area of the contour
.
|
| void | SetPerimeter (const Standard_Real perimeter) |
| | Sets perimeter of the contour
.
|
| void | SetRatio (const Standard_Real ratio) |
| | Sets ratio of average length to average width of the contour
.
|
| void | SetWidth (const Standard_Real width) |
| | Sets average width of the contour
.
|
| Standard_EXPORT void | AddNotch (const TopoDS_Wire ¬ch, const Standard_Real width) |
| | Adds notch on the contour with its maximum width
.
|
| TopoDS_Wire | FreeBound () const |
| | Returns contour
.
|
| Standard_Real | Area () const |
| | Returns area of the contour
.
|
| Standard_Real | Perimeter () const |
| | Returns perimeter of the contour
.
|
| Standard_Real | Ratio () const |
| | Returns ratio of average length to average width of the contour
.
|
| Standard_Real | Width () const |
| | Returns average width of the contour
.
|
| Standard_Integer | NbNotches () const |
| | Returns number of notches on the contour
.
|
| Handle_TopTools_HSequenceOfShape | Notches () const |
| | Returns sequence of notches on the contour
.
|
| TopoDS_Wire | Notch (const Standard_Integer index) const |
| | Returns notch on the contour
.
|
| Standard_EXPORT Standard_Real | NotchWidth (const Standard_Integer index) const |
| | Returns maximum width of notch specified by its rank number
on the contour
.
|
| Standard_EXPORT Standard_Real | NotchWidth (const TopoDS_Wire ¬ch) const |
| | Returns maximum width of notch specified as TopoDS_Wire
on the contour
.
|
| Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes |
| TopoDS_Wire | myBound |
| Standard_Real | myArea |
| Standard_Real | myPerimeter |
| Standard_Real | myRatio |
| Standard_Real | myWidth |
| Handle_TopTools_HSequenceOfShape | myNotches |
| ShapeAnalysis_DataMapOfShapeReal | myNotchesParams |