Open CASCADE Technology
6.5.4
|
Splits a 3d curve with a criterion.
#include <ShapeUpgrade_SplitCurve3d.hxx>
Public Member Functions | |
ShapeUpgrade_SplitCurve3d () | |
Empty constructor. | |
void | Init (const Handle< Geom_Curve > &C) |
Initializes with curve with its first and last parameters. | |
void | Init (const Handle< Geom_Curve > &C, const Standard_Real First, const Standard_Real Last) |
Initializes with curve with its parameters. | |
virtual void | Build (const Standard_Boolean Segment) |
If Segment is True, the result is composed with segments of the curve bounded by the SplitValues. If Segment is False, the result is composed with trimmed Curves all based on the same complete curve. | |
const Handle_TColGeom_HArray1OfCurve & | GetCurves () const |
Protected Attributes | |
Handle_Geom_Curve | myCurve |
Handle_TColGeom_HArray1OfCurve | myResultingCurves |
virtual void ShapeUpgrade_SplitCurve3d::Build | ( | const Standard_Boolean | Segment | ) | [virtual] |
Reimplemented from ShapeUpgrade_SplitCurve.
Reimplemented in ShapeUpgrade_ConvertCurve3dToBezier.
const Handle_TColGeom_HArray1OfCurve& ShapeUpgrade_SplitCurve3d::GetCurves | ( | ) | const |
void ShapeUpgrade_SplitCurve3d::Init | ( | const Handle< Geom_Curve > & | C | ) |
void ShapeUpgrade_SplitCurve3d::Init | ( | const Handle< Geom_Curve > & | C, |
const Standard_Real | First, | ||
const Standard_Real | Last | ||
) |
Handle_Geom_Curve ShapeUpgrade_SplitCurve3d::myCurve [protected] |
Handle_TColGeom_HArray1OfCurve ShapeUpgrade_SplitCurve3d::myResultingCurves [protected] |