![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
Implementation of building helix wire Values of Error Status returned by algo: 0 - OK 1 - object is just initialized, it means that no input parameters were set 2 - approximation fails. More...
#include <HelixBRep_BuilderHelix.hxx>
Public Member Functions | |
| HelixBRep_BuilderHelix () | |
| Empty constructor. | |
| virtual | ~HelixBRep_BuilderHelix () |
| void | SetParameters (const gp_Ax3 &theAxis, const NCollection_Array1< double > &theDiams, const NCollection_Array1< double > &theHeights, const NCollection_Array1< double > &thePitches, const NCollection_Array1< bool > &theIsPitches) |
| Sets parameters of general composite helix. | |
| void | SetParameters (const gp_Ax3 &theAxis, const double theDiam, const NCollection_Array1< double > &theHeights, const NCollection_Array1< double > &thePitches, const NCollection_Array1< bool > &theIsPitches) |
| Sets parameters of pure helix. | |
| void | SetParameters (const gp_Ax3 &theAxis, const double theDiam1, const double theDiam2, const NCollection_Array1< double > &theHeights, const NCollection_Array1< double > &thePitches, const NCollection_Array1< bool > &theIsPitches) |
| Sets parameters of pure spiral. | |
| void | SetParameters (const gp_Ax3 &theAxis, const NCollection_Array1< double > &theDiams, const NCollection_Array1< double > &thePitches, const NCollection_Array1< double > &theNbTurns) |
| Sets parameters of general composite helix. | |
| void | SetParameters (const gp_Ax3 &theAxis, const double theDiam, const NCollection_Array1< double > &thePitches, const NCollection_Array1< double > &theNbTurns) |
| Sets parameters of pure helix. | |
| void | SetParameters (const gp_Ax3 &theAxis, const double theDiam1, const double theDiam2, const NCollection_Array1< double > &thePitches, const NCollection_Array1< double > &theNbTurns) |
| Sets parameters of pure spiral. | |
| void | SetApproxParameters (const double theTolerance, const int theMaxDegree, const GeomAbs_Shape theContinuity) |
| Sets parameters for approximation. | |
| void | Perform () |
| Performs calculations. | |
| double | ToleranceReached () const |
| Gets tolerance reached by approximation. | |
| int | ErrorStatus () const |
| Returns error status of algorithm. | |
| int | WarningStatus () const |
| Returns warning status of algorithm. | |
| const TopoDS_Shape & | Shape () const |
| Gets result of algorithm. | |
Protected Attributes | |
| gp_Ax3 | myAxis3 |
| occ::handle< NCollection_HArray1< double > > | myDiams |
| occ::handle< NCollection_HArray1< double > > | myHeights |
| occ::handle< NCollection_HArray1< double > > | myPitches |
| occ::handle< NCollection_HArray1< bool > > | myIsPitches |
| double | myTolerance |
| double | myTolReached |
| GeomAbs_Shape | myContinuity |
| int | myMaxDegree |
| int | myMaxSegments |
| int | myErrorStatus |
| int | myWarningStatus |
| TopoDS_Shape | myShape |
Implementation of building helix wire Values of Error Status returned by algo: 0 - OK 1 - object is just initialized, it means that no input parameters were set 2 - approximation fails.
10 - R < tolerance - starting point is too close to axis 11 - step (Pitch) < tolerance 12 - Height < tolerance 13 - TaperAngle < 0 or TaperAngle > Pi/2 - TolAng Warning Status: 0 - OK 1 - tolerance reached by approximation > requested tolerance.
| HelixBRep_BuilderHelix::HelixBRep_BuilderHelix | ( | ) |
Empty constructor.
|
virtual |
| int HelixBRep_BuilderHelix::ErrorStatus | ( | ) | const |
Returns error status of algorithm.
| void HelixBRep_BuilderHelix::Perform | ( | ) |
Performs calculations.
| void HelixBRep_BuilderHelix::SetApproxParameters | ( | const double | theTolerance, |
| const int | theMaxDegree, | ||
| const GeomAbs_Shape | theContinuity ) |
Sets parameters for approximation.
| void HelixBRep_BuilderHelix::SetParameters | ( | const gp_Ax3 & | theAxis, |
| const double | theDiam, | ||
| const NCollection_Array1< double > & | theHeights, | ||
| const NCollection_Array1< double > & | thePitches, | ||
| const NCollection_Array1< bool > & | theIsPitches ) |
Sets parameters of pure helix.
| void HelixBRep_BuilderHelix::SetParameters | ( | const gp_Ax3 & | theAxis, |
| const double | theDiam, | ||
| const NCollection_Array1< double > & | thePitches, | ||
| const NCollection_Array1< double > & | theNbTurns ) |
Sets parameters of pure helix.
| void HelixBRep_BuilderHelix::SetParameters | ( | const gp_Ax3 & | theAxis, |
| const double | theDiam1, | ||
| const double | theDiam2, | ||
| const NCollection_Array1< double > & | theHeights, | ||
| const NCollection_Array1< double > & | thePitches, | ||
| const NCollection_Array1< bool > & | theIsPitches ) |
Sets parameters of pure spiral.
| void HelixBRep_BuilderHelix::SetParameters | ( | const gp_Ax3 & | theAxis, |
| const double | theDiam1, | ||
| const double | theDiam2, | ||
| const NCollection_Array1< double > & | thePitches, | ||
| const NCollection_Array1< double > & | theNbTurns ) |
Sets parameters of pure spiral.
| void HelixBRep_BuilderHelix::SetParameters | ( | const gp_Ax3 & | theAxis, |
| const NCollection_Array1< double > & | theDiams, | ||
| const NCollection_Array1< double > & | theHeights, | ||
| const NCollection_Array1< double > & | thePitches, | ||
| const NCollection_Array1< bool > & | theIsPitches ) |
Sets parameters of general composite helix.
| void HelixBRep_BuilderHelix::SetParameters | ( | const gp_Ax3 & | theAxis, |
| const NCollection_Array1< double > & | theDiams, | ||
| const NCollection_Array1< double > & | thePitches, | ||
| const NCollection_Array1< double > & | theNbTurns ) |
Sets parameters of general composite helix.
| const TopoDS_Shape & HelixBRep_BuilderHelix::Shape | ( | ) | const |
Gets result of algorithm.
| double HelixBRep_BuilderHelix::ToleranceReached | ( | ) | const |
Gets tolerance reached by approximation.
| int HelixBRep_BuilderHelix::WarningStatus | ( | ) | const |
Returns warning status of algorithm.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |