Hide menu
No Matches
cadex::ModelData_Conic2d Class Reference

Base class for 2D conic curves. More...

#include <cadex/ModelData_Conic2d.hxx>

Inheritance diagram for cadex::ModelData_Conic2d:
cadex::ModelData_Curve2d cadex::ModelData_Circle2d cadex::ModelData_Ellipse2d cadex::ModelData_Hyperbola2d cadex::ModelData_Parabola2d

Public Types

typedef cadex::internal::ModelData_Conic2dImpl ImplType

Public Member Functions

 ModelData_Conic2d ()
const ModelData_Axis2Placement2d & Position () const
 Returns an axis placement.
double Parameter (const ModelData_Point2d &thePoint) const
 Returns parameter for a 2D point.
- Public Member Functions inherited from cadex::ModelData_Curve2d
 ModelData_Curve2d ()
 ModelData_Curve2d (const ModelData_Curve2d &theOther)
 ModelData_Curve2d (ModelData_Curve2d &&theOther)
 ~ModelData_Curve2d ()
ModelData_Curve2doperator= (const ModelData_Curve2d &theOther)
 Assignment operator.
ModelData_Curve2doperator= (ModelData_Curve2d &&theOther)
 Move assignment operator.
ModelData_CurveType Type () const
 Returns a curve type.
bool IsNull () const
 Returns true if the object has not been initialized yet.
void Nullify ()
 Resets the object.
 operator bool () const
 Returns if the object has been initialized.
bool IsPeriodic () const
 Returns true if the curve is periodic.
double UMin () const
 Returns a minimum parameter of a definition domain.
double UMax () const
 Returns a maximum parameter of a definition domain.
void Domain (double &theUMin, double &theUMax) const
 Returns a definition domain.
ModelData_Point2d Value (double theParameter) const
 Evaluates a point on the curve.
ModelData_Curve2d Reversed () const
 Returns a curve with reversed orientation.
void Transform (const ModelData_Transformation2d &theTransformation)
 Applies transformation matrix to this object.
ModelData_Curve2d Transformed (const ModelData_Transformation2d &theTransformation) const
 Returns a copy this object after applying transformation.
ModelData_Continuity Continuity () const
 Returns a continuity type of the curve.
void D0 (double theParameter, ModelData_Point2d &theValue) const
 Returns the point theValue of parameter theParam.
void D1 (double theParameter, ModelData_Point2d &theValue, ModelData_Vector2d &theD1) const
 Returns the point theValue of parameter theParam and the first derivative theD1.
void D2 (double theParameter, ModelData_Point2d &theValue, ModelData_Vector2d &theD1, ModelData_Vector2d &theD2) const
 Returns the point theValue of parameter theParam and second derivatives theD1 and theD2.
bool DN (double theParameter, size_t theDerivativeOrder, ModelData_Point2d &theValue, ModelData_Vector2d theD[]) const
double Curvature (double theParameter) const
 Returns the curvature value of parameter theParam.
void Normal (double theParameter, ModelData_Direction2d &theNormal) const
 Returns the normal direction theNormal of parameter theParam.

Public Attributes

 operator Handle_C const
- Public Attributes inherited from cadex::ModelData_Curve2d
 operator Handle_C const

Detailed Description

Base class for 2D conic curves.

A conic curve has an axis placement returned by Position(). Parametrization is defined taking into account X-axis of the axis placement.

See also
ModelData_Axis2Placement2d, ModelData_Conic.

Constructor & Destructor Documentation

◆ ModelData_Conic2d()

cadex::ModelData_Conic2d::ModelData_Conic2d ( )


Empty constructor.

Member Function Documentation

◆ Parameter()

double cadex::ModelData_Conic2d::Parameter ( const ModelData_Point2d thePoint) const

Returns parameter for a 2D point.

See also

◆ Position()

const ModelData_Axis2Placement2d & cadex::ModelData_Conic2d::Position ( ) const

Returns an axis placement.

Returns the value specified in the constructor of respective subclass.