Open CASCADE Technology  7.2.0
Static Public Member Functions
ShapeUpgrade Class Reference

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. More...

#include <ShapeUpgrade.hxx>

Static Public Member Functions

static Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle< Geom_BSplineCurve > &BS, Handle< TColGeom_HSequenceOfBoundedCurve > &seqBS)
 Unifies same domain faces and edges of specified shape. More...
 
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). More...
 

Detailed Description

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.

Member Function Documentation

◆ C0BSplineToSequenceOfC1BSplineCurve() [1/2]

static Standard_Boolean ShapeUpgrade::C0BSplineToSequenceOfC1BSplineCurve ( const Handle< Geom_BSplineCurve > &  BS,
Handle< TColGeom_HSequenceOfBoundedCurve > &  seqBS 
)
static

Unifies same domain faces and edges of specified shape.

◆ C0BSplineToSequenceOfC1BSplineCurve() [2/2]

static Standard_Boolean ShapeUpgrade::C0BSplineToSequenceOfC1BSplineCurve ( const Handle< Geom2d_BSplineCurve > &  BS,
Handle< TColGeom2d_HSequenceOfBoundedCurve > &  seqBS 
)
static

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).


The documentation for this class was generated from the following file: