This is the ellipse and circle Class. parametrisation :[ 0.0 - 2PI ] 0.0 is given by inXref or inOriginDirection. More...
 Inheritance diagram for Dtk_Ellipse:Public Member Functions | |
| virtual Dtk_ErrorStatus | _ComputeAnyDerivative (Dtk_Double64 inUvalue, int inUdiff, Dtk_dir &outdir, int exttype) const | 
| virtual Dtk_ErrorStatus | _Store (void *) | 
| virtual Dtk_ErrorStatus | ComputeBoundingBox (Dtk_pnt &outMin, Dtk_pnt &outMax, Dtk_bool inMorePrecise=0) | 
| Compute Bounding Box.  More... | |
| virtual Dtk_pnt | ComputeEndPoint () const | 
| Return Last point.  More... | |
| Dtk_Double64 | ComputeLength () | 
| return curve Length  More... | |
| Dtk_NurbsCurvePtr | ComputeOffset (Dtk_Double64 inOffset, Dtk_dir inOffsetDirection) | 
| Compute offset curve and convert it to nurbs.  More... | |
| virtual Dtk_ErrorStatus | ComputeOrientedBoundingBox (Dtk_pnt &outMin, Dtk_pnt &outMax, const Dtk_transfo &inLocal) | 
| Compute Oriented Bounding Box.  More... | |
| virtual Dtk_ErrorStatus | ComputeParameter (const Dtk_pnt &inPoint, Dtk_Double64 &outU) const | 
| Compute U parameter from point.  More... | |
| virtual Dtk_pnt | ComputeStartPoint () const | 
| Return First point.  More... | |
| virtual Dtk_ErrorStatus | ComputeUDir (const Dtk_Double64 &inU, Dtk_dir &outDir) const | 
| Compute dir on U parameter.  More... | |
| virtual Dtk_ErrorStatus | ComputeUPoint (const Dtk_Double64 &inU, Dtk_pnt &outPoint) const | 
| Compute point on U parameter.  More... | |
| virtual Dtk_ErrorStatus | ComputeUPointDir (const Dtk_Double64 &inU, Dtk_pnt &outPoint, Dtk_dir &outDir) const | 
| Compute point and dir on U parameter.  More... | |
| void | DeleteCorrespondingNurbs () | 
| int | DtkDynamicType (const int &inId) | 
| downcasting  More... | |
| virtual void | dump (FILE *file=stdout) | 
| Dtk_InfoPtr | get_info () const | 
| type_detk | get_type_detk () const | 
| const Dtk_pnt & | GetCenterPoint () const | 
| Get Center of Conic (inCenter on schema)  More... | |
| Dtk_Size_t | GetDimension () const | 
| Return 2 or 3.  More... | |
| Dtk_ErrorStatus | GetDomain (Dtk_Double64 &outUmin, Dtk_Double64 &outUmax) const | 
| Get Curve Parametrisation.  More... | |
| const Dtk_ID & | GetID () const | 
| Get Internal UniqueID.  More... | |
| Dtk_Double64 | GetMajorRadius () const | 
| Dtk_Double64 | GetMinorRadius () const | 
| const Dtk_dir & | GetNormalDirection () const | 
| Get Normal vector of Conic (inNormal on schema)  More... | |
| const Dtk_dir & | GetOriginDirection () const | 
| Get Origin of parametrisation of Conic (inXdir on schema)  More... | |
| virtual Dtk_Size_t | GetSize () const | 
| Dtk_pnt | GetTrimEndPoint () const | 
| Return last trim point.  More... | |
| Dtk_pnt | GetTrimStartPoint () const | 
| Return first trim point.  More... | |
| Dtk_Double64 | GetTrimUMax () const | 
| Get end Trim parameter.  More... | |
| Dtk_Double64 | GetTrimUMin () const | 
| Get start Trim parameter.  More... | |
| const Dtk_dir & | GetXDirection () const | 
| Dtk_dir | GetYDirection () const | 
| Get Y direction of Conic.  More... | |
| const Dtk_dir & | GetZDirection () const | 
| Dtk_InfoPtr & | info () | 
| virtual Dtk_ErrorStatus | InverseTrim () | 
| Dtk_bool | IsCircle () const | 
| virtual Dtk_bool | IsClosed (Dtk_Double64 inTol=DTK_TOLERANCE) const | 
| return True if Curve is closed  More... | |
| Dtk_bool | IsLine () | 
| return True if Curve is a line  More... | |
| virtual Dtk_bool | IsPeriodic () const | 
| return True if Curve is periodic  More... | |
| Dtk_bool | IsTrimmed () const | 
| Return DTK_TRUE if Curve Is trimmed by point or parameter value.  More... | |
| virtual void | Normalize () | 
| Normalize Curve.  More... | |
| virtual void | PrepareTransfo () | 
| virtual void | Reverse () | 
| Reverse Curve.  More... | |
| void | SetDimension (const Dtk_Size_t &inDimension) | 
| Set curve dimension (2 or 3)  More... | |
| Dtk_ErrorStatus | SetStartAngle (Dtk_Double64 inAngle) | 
| virtual Dtk_ErrorStatus | SetTrimmingParameters (const Dtk_Double64 &inUmin, const Dtk_Double64 &inUmax) | 
| Set Trim parameter for curve.  More... | |
| void | SetTrimPoints (const Dtk_pnt &inStartPoint, const Dtk_pnt &inEndPoint) | 
| Set Trim points for curve.  More... | |
| virtual Dtk_NurbsCurvePtr | ToNurbs () const | 
| Get Nurbs corresponding to conic (with trim)  More... | |
| virtual Dtk_PolylinePtr | ToPolyline (const int &inMinPoint, const Dtk_Double64 &inTolerance) const | 
| Convert Curve to polyline.  More... | |
| Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) | 
| transform  More... | |
Static Public Member Functions | |
| static Dtk_ConicPtr | Create (const Dtk_Conic &in) | 
| static Dtk_EllipsePtr | Create (const Dtk_Ellipse &in) | 
| Calls copy constructor to allocate a new object.  More... | |
| static Dtk_EllipsePtr | Create (const Dtk_pnt &inCenter, const Dtk_dir &inNormal, const Dtk_dir &inXref, const Dtk_Double64 &inMajorRadius, const Dtk_Double64 &inMinorRadius) | 
| Calls full featured constructor to allocate a new object.  More... | |
| static Dtk_EllipsePtr | Create (const Dtk_pnt &inCenter, const Dtk_dir &inNormal, const Dtk_dir &inXref, const Dtk_Double64 &inRadius) | 
| Calls full featured constructor to allocate a new object.  More... | |
| static Dtk_Ellipse * | DtkDynamicCast (Dtk_Object *inObject) | 
Protected Types | |
| enum | { _typeID = DTK_TYPE_OBJECT } | 
| enum | { _typeID = DTK_TYPE_CURVE } | 
| enum | { _typeID = DTK_TYPE_CONIC } | 
| enum | { _typeID = DTK_TYPE_ELLIPSE } | 
Protected Member Functions | |
| void | _Copy (const Dtk_Curve &s) | 
| void | _copy (const Dtk_Entity &s) | 
| void | _init () | 
| void | _reset () | 
| virtual Dtk_Object * | Clone () | 
| Dtk_Ellipse () | |
| Dtk_Ellipse (const Dtk_Ellipse &inEllipseToCopy) | |
| Dtk_Ellipse (const Dtk_pnt &inCenter, const Dtk_dir &inNormal, const Dtk_dir &inXref, const Dtk_Double64 &inMajorRadius, const Dtk_Double64 &inMinorRadius) | |
| virtual | ~Dtk_Ellipse () | 
Protected Attributes | |
| Dtk_Handle * | _Private | 
| unsigned long | count_ | 
This is the ellipse and circle Class. parametrisation :[ 0.0 - 2PI ] 0.0 is given by inXref or inOriginDirection.
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protectedvirtual | 
      
  | 
  virtual | 
Reimplemented from Dtk_Curve.
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  virtual | 
Reimplemented from Dtk_Conic.
      
  | 
  protectedvirtual | 
Implements Dtk_Conic.
      
  | 
  virtual | 
Compute Bounding Box.
Reimplemented from Dtk_Curve.
      
  | 
  virtual | 
Return Last point.
Implements Dtk_Curve.
      
  | 
  inherited | 
return curve Length
      
  | 
  inherited | 
Compute offset curve and convert it to nurbs.
      
  | 
  virtualinherited | 
Compute Oriented Bounding Box.
      
  | 
  virtual | 
Compute U parameter from point.
Implements Dtk_Curve.
      
  | 
  virtual | 
Return First point.
Implements Dtk_Curve.
      
  | 
  virtual | 
Compute dir on U parameter.
Reimplemented from Dtk_Curve.
      
  | 
  virtual | 
Compute point on U parameter.
Implements Dtk_Curve.
      
  | 
  virtualinherited | 
Compute point and dir on U parameter.
Reimplemented in Dtk_NurbsCurve.
      
  | 
  staticinherited | 
      
  | 
  static | 
Calls copy constructor to allocate a new object.
| in | Object to copy from. | 
      
  | 
  static | 
Calls full featured constructor to allocate a new object.
      
  | 
  static | 
Calls full featured constructor to allocate a new object.
      
  | 
  inherited | 
      
  | 
  static | 
      
  | 
  virtual | 
downcasting
Reimplemented from Dtk_Conic.
      
  | 
  virtualinherited | 
      
  | 
  inherited | 
      
  | 
  inherited | 
Get Center of Conic (inCenter on schema)
      
  | 
  inherited | 
Return 2 or 3.
      
  | 
  virtual | 
Get Curve Parametrisation.
Implements Dtk_Curve.
      
  | 
  inherited | 
Get Internal UniqueID.
| Dtk_Double64 Dtk_Ellipse::GetMajorRadius | ( | ) | const | 
| Dtk_Double64 Dtk_Ellipse::GetMinorRadius | ( | ) | const | 
      
  | 
  inherited | 
Get Normal vector of Conic (inNormal on schema)
      
  | 
  inherited | 
Get Origin of parametrisation of Conic (inXdir on schema)
      
  | 
  virtual | 
Reimplemented from Dtk_Conic.
      
  | 
  inherited | 
Return last trim point.
      
  | 
  inherited | 
Return first trim point.
      
  | 
  inherited | 
Get end Trim parameter.
      
  | 
  inherited | 
Get start Trim parameter.
      
  | 
  inherited | 
      
  | 
  inherited | 
Get Y direction of Conic.
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  virtualinherited | 
| Dtk_bool Dtk_Ellipse::IsCircle | ( | ) | const | 
      
  | 
  virtualinherited | 
return True if Curve is closed
Reimplemented in Dtk_NurbsCurve.
      
  | 
  inherited | 
return True if Curve is a line
      
  | 
  virtualinherited | 
return True if Curve is periodic
Reimplemented in Dtk_NurbsCurve.
      
  | 
  inherited | 
Return DTK_TRUE if Curve Is trimmed by point or parameter value.
      
  | 
  virtualinherited | 
Normalize Curve.
Reimplemented in Dtk_Line.
      
  | 
  virtualinherited | 
Reimplemented in Dtk_OffsetSurface.
      
  | 
  virtual | 
Reverse Curve.
Implements Dtk_Curve.
      
  | 
  inherited | 
Set curve dimension (2 or 3)
      
  | 
  inherited | 
      
  | 
  virtualinherited | 
Set Trim parameter for curve.
      
  | 
  inherited | 
Set Trim points for curve.
      
  | 
  virtualinherited | 
      
  | 
  virtual | 
Convert Curve to polyline.
| [in] | inMinPoint | : Minimal number of result points | 
| [in] | inTolerance | : max tolerance for 3 points alignement. | 
Implements Dtk_Curve.
      
  | 
  virtual | 
transform
Reimplemented from Dtk_Conic.
      
  | 
  protected | 
      
  | 
  protectedinherited |