Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
ShapeUpgrade_SplitCurve Class Reference

Splits a curve with a criterion.

#include <ShapeUpgrade_SplitCurve.hxx>

Inheritance diagram for ShapeUpgrade_SplitCurve:
Inheritance graph
[legend]

Public Member Functions

 ShapeUpgrade_SplitCurve ()
 Empty constructor.

void Init (const Standard_Real First, const Standard_Real Last)
 Initializes with curve first and last parameters.

void SetSplitValues (const Handle< TColStd_HSequenceOfReal > &SplitValues)
 Sets the parameters where splitting has to be done.

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_TColStd_HSequenceOfReal & 
SplitValues () const
 returns all the splitting values including the
First and Last parameters of the input curve
//! Merges input split values and new ones into myGlobalKnots

virtual void Compute ()
 Calculates points for correction/splitting of the curve

void Perform (const Standard_Boolean Segment=Standard_True)
 Performs correction/splitting of the curve.
First defines splitting values by method Compute(), then calls method Build().

Standard_Boolean Status (const ShapeExtend_Status status) const
 Returns the status
OK - no splitting is needed
DONE1 - splitting required and gives more than one segment
DONE2 - splitting is required, but gives only one segment (initial)
DONE3 - geometric form of the curve or parametrisation is modified

Protected Attributes

Handle_TColStd_HSequenceOfReal mySplitValues
Standard_Integer myNbCurves
Standard_Integer myStatus

Constructor & Destructor Documentation


Member Function Documentation

virtual void ShapeUpgrade_SplitCurve::Compute ( ) [virtual]
const Handle_TColStd_HSequenceOfReal& ShapeUpgrade_SplitCurve::SplitValues ( ) const

Field Documentation

Handle_TColStd_HSequenceOfReal ShapeUpgrade_SplitCurve::mySplitValues [protected]

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