#include <AppDef_MultiPointConstraint.hxx>
Inheritance diagram for AppDef_MultiPointConstraint:
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | AppDef_MultiPointConstraint () |
creates an undefined MultiPointConstraint. | |
Standard_EXPORT | AppDef_MultiPointConstraint (const Standard_Integer NbPoints, const Standard_Integer NbPoints2d) |
constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. | |
Standard_EXPORT | AppDef_MultiPointConstraint (const TColgp_Array1OfPnt &tabP) |
creates a MultiPoint only composed of 3D points. | |
Standard_EXPORT | AppDef_MultiPointConstraint (const TColgp_Array1OfPnt2d &tabP) |
creates a MultiPoint only composed of 2D points. | |
Standard_EXPORT | AppDef_MultiPointConstraint (const TColgp_Array1OfPnt &tabP, const TColgp_Array1OfPnt2d &tabP2d) |
constructs a set of Points used to approximate a Multiline. These Points can be of 2 or 3 dimensions. Points will be initialized with SetPoint and SetPoint2d. | |
Standard_EXPORT | AppDef_MultiPointConstraint (const TColgp_Array1OfPnt &tabP, const TColgp_Array1OfPnt2d &tabP2d, const TColgp_Array1OfVec &tabVec, const TColgp_Array1OfVec2d &tabVec2d, const TColgp_Array1OfVec &tabCur, const TColgp_Array1OfVec2d &tabCur2d) |
creates a MultiPointConstraint with a constraint of Curvature. An exception is raised if (length of <tabp> + length of <tabp2d> ) is different from (length of <tabvec> + length of <tabvec2d> ) or from (length of <tabcur> + length of <tabcur2d> ) | |
Standard_EXPORT | AppDef_MultiPointConstraint (const TColgp_Array1OfPnt &tabP, const TColgp_Array1OfPnt2d &tabP2d, const TColgp_Array1OfVec &tabVec, const TColgp_Array1OfVec2d &tabVec2d) |
creates a MultiPointConstraint with a constraint of Tangency. An exception is raised if (length of <tabp> + length of <tabp2d> ) is different from (length of <tabvec> + length of <tabvec2d> ) | |
Standard_EXPORT | AppDef_MultiPointConstraint (const TColgp_Array1OfPnt &tabP, const TColgp_Array1OfVec &tabVec, const TColgp_Array1OfVec &tabCur) |
creates a MultiPointConstraint only composed of 3d points with constraints of curvature. An exception is raised if the length of tabP is different from the length of tabVec or from tabCur. | |
Standard_EXPORT | AppDef_MultiPointConstraint (const TColgp_Array1OfPnt &tabP, const TColgp_Array1OfVec &tabVec) |
creates a MultiPointConstraint only composed of 3d points with constraints of tangency. An exception is raised if the length of tabP is different from the length of tabVec. | |
Standard_EXPORT | AppDef_MultiPointConstraint (const TColgp_Array1OfPnt2d &tabP2d, const TColgp_Array1OfVec2d &tabVec2d) |
creates a MultiPointConstraint only composed of 2d points with constraints of tangency. An exception is raised if the length of tabP is different from the length of tabVec2d. | |
Standard_EXPORT | AppDef_MultiPointConstraint (const TColgp_Array1OfPnt2d &tabP2d, const TColgp_Array1OfVec2d &tabVec2d, const TColgp_Array1OfVec2d &tabCur2d) |
creates a MultiPointConstraint only composed of 2d points with constraints of curvature. An exception is raised if the length of tabP is different from the length of tabVec2d or from tabCur2d. | |
Standard_EXPORT void | SetTang (const Standard_Integer Index, const gp_Vec &Tang) |
sets the value of the tangency of the point of range Index. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Tang has an incorrect number of dimensions. | |
Standard_EXPORT gp_Vec | Tang (const Standard_Integer Index) const |
returns the tangency value of the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. | |
Standard_EXPORT void | SetTang2d (const Standard_Integer Index, const gp_Vec2d &Tang2d) |
sets the value of the tangency of the point of range Index. An exception is raised if Index <number of 3d points or if Index > total number of Points An exception is raised if Tang has an incorrect number of dimensions. | |
Standard_EXPORT gp_Vec2d | Tang2d (const Standard_Integer Index) const |
returns the tangency value of the point of range Index. An exception is raised if Index < number of 3d points or if Index > total number of points. | |
Standard_EXPORT void | SetCurv (const Standard_Integer Index, const gp_Vec &Curv) |
Vec sets the value of the normal vector at the point of index Index. The norm of the normal vector at the point of position Index is set to the normal curvature. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Curv has an incorrect number of dimensions. . | |
Standard_EXPORT gp_Vec | Curv (const Standard_Integer Index) const |
returns the normal vector at the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. | |
Standard_EXPORT void | SetCurv2d (const Standard_Integer Index, const gp_Vec2d &Curv2d) |
Vec sets the value of the normal vector at the point of index Index. The norm of the normal vector at the point of position Index is set to the normal curvature. An exception is raised if Index <0 or if Index > number of 3d points. An exception is raised if Curv has an incorrect number of dimensions. . | |
Standard_EXPORT gp_Vec2d | Curv2d (const Standard_Integer Index) const |
returns the normal vector at the point of range Index. An exception is raised if Index < 0 or if Index > number of 3d points. | |
Standard_EXPORT Standard_Boolean | IsTangencyPoint () const |
returns True if the MultiPoint has a tangency value. | |
Standard_EXPORT Standard_Boolean | IsCurvaturePoint () const |
returns True if the MultiPoint has a curvature value. | |
virtual Standard_EXPORT void | Dump (Standard_OStream &o) const |
Prints on the stream o information on the current state of the object. Is used to redefine the operator <<. . | |
Private Attributes | |
Handle_MMgt_TShared | ttabTang |
Handle_MMgt_TShared | ttabCurv |
Handle_MMgt_TShared | ttabTang2d |
Handle_MMgt_TShared | ttabCurv2d |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from AppParCurves_MultiPoint. |
|
|
|
|
|
Reimplemented from AppParCurves_MultiPoint. |
|
Reimplemented from AppParCurves_MultiPoint. |
|
Reimplemented from AppParCurves_MultiPoint. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|