Open CASCADE Technology
6.5.4
|
This package provides tools
for splitting and converting shapes by some criteria. It
provides modifications of the kind when one topological
object can be converted or splitted to several ones. In
particular this package contains high level API classes which perform:
converting geometry of shapes up to given continuity,
splitting revolutions by U to segments less than given value,
converting to beziers,
splitting closed faces.
#include <ShapeUpgrade.hxx>
Static Public Member Functions | |
static DEFINE_STANDARD_ALLOC Standard_Boolean | C0BSplineToSequenceOfC1BSplineCurve (const Handle< Geom_BSplineCurve > &BS, Handle< TColGeom_HSequenceOfBoundedCurve > &seqBS) |
Unifies same domain faces and edges of specified shape | |
static Standard_Boolean | C0BSplineToSequenceOfC1BSplineCurve (const Handle< Geom2d_BSplineCurve > &BS, Handle< TColGeom2d_HSequenceOfBoundedCurve > &seqBS) |
Converts C0 B-Spline curve into sequence of C1 B-Spline curves. This method splits B-Spline at the knots with multiplicities equal to degree, i.e. unlike method GeomConvert::C0BSplineToArrayOfC1BSplineCurve this one does not use any tolerance and therefore does not change the geometry of B-Spline. Returns True if C0 B-Spline was successfully splitted, else returns False (if BS is C1 B-Spline). |
static DEFINE_STANDARD_ALLOC Standard_Boolean ShapeUpgrade::C0BSplineToSequenceOfC1BSplineCurve | ( | const Handle< Geom_BSplineCurve > & | BS, |
Handle< TColGeom_HSequenceOfBoundedCurve > & | seqBS | ||
) | [static] |
static Standard_Boolean ShapeUpgrade::C0BSplineToSequenceOfC1BSplineCurve | ( | const Handle< Geom2d_BSplineCurve > & | BS, |
Handle< TColGeom2d_HSequenceOfBoundedCurve > & | seqBS | ||
) | [static] |