This is the Infinite Line Class. 0.0 parametrisation is first point or origin 1.0 parametrisation is second point or vector norm. More...
 Inheritance diagram for Dtk_Line: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 | 
| Dtk_Size_t | GetDimension () const | 
| Return 2 or 3.  More... | |
| Dtk_dir | GetDirection () const | 
| return direction of line  More... | |
| virtual Dtk_ErrorStatus | GetDomain (Dtk_Double64 &outUmin, Dtk_Double64 &outUmax) const | 
| Get Curve Parametrisation.  More... | |
| const Dtk_ID & | GetID () const | 
| Get Internal UniqueID.  More... | |
| Dtk_pnt | GetOrigin () const | 
| return origin of line  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... | |
| Dtk_InfoPtr & | info () | 
| virtual Dtk_ErrorStatus | InverseTrim () | 
| 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... | |
| 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 | 
| Convert Curve to nurbs.  More... | |
| virtual Dtk_PolylinePtr | ToPolyline (const int &inMinPoint, const Dtk_Double64 &inTolerance) const | 
| Convert Curve to polyline.  More... | |
| virtual Dtk_ErrorStatus | Transform (const Dtk_transfo &inTransfo) | 
| transform Line with inTransformation  More... | |
Static Public Member Functions | |
| static Dtk_LinePtr | Create (const Dtk_Line &in) | 
| Calls copy constructor to allocate a new object.  More... | |
| static Dtk_LinePtr | Create (const Dtk_pnt &inOrigin, const Dtk_dir &inDirection) | 
| Calls full featured constructor to allocate a new object.  More... | |
| static Dtk_LinePtr | Create (const Dtk_pnt &inPnt1, const Dtk_pnt &inPnt2) | 
| Calls full featured constructor to allocate a new object.  More... | |
| static Dtk_Line * | DtkDynamicCast (Dtk_Object *inObjectToCast) | 
Protected Types | |
| enum | { _typeID = DTK_TYPE_OBJECT } | 
| enum | { _typeID = DTK_TYPE_CURVE } | 
| enum | { _typeID = DTK_TYPE_LINE } | 
| Entity Type.  More... | |
Protected Member Functions | |
| void | _Copy (const Dtk_Curve &s) | 
| void | _copy (const Dtk_Entity &s) | 
| void | _init () | 
| void | _reset () | 
| virtual Dtk_Object * | Clone () | 
| Dtk_Line () | |
| Dtk_Line (const Dtk_Line &inLineToCopy) | |
| Dtk_Line (const Dtk_pnt &inOrigin, const Dtk_dir &inDirection) | |
| Dtk_Line (const Dtk_pnt &inPnt1, const Dtk_pnt &inPnt2) | |
| virtual | ~Dtk_Line () | 
| Destructor.  More... | |
Protected Attributes | |
| Dtk_Handle * | _Private | 
| Handle  More...  | |
| unsigned long | count_ | 
This is the Infinite Line Class. 0.0 parametrisation is first point or origin 1.0 parametrisation is second point or vector norm.
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protectedvirtual | 
Destructor.
      
  | 
  virtual | 
Reimplemented from Dtk_Curve.
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  virtual | 
Reimplemented from Dtk_Curve.
      
  | 
  protectedvirtual | 
      
  | 
  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.
      
  | 
  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_Curve.
      
  | 
  virtualinherited | 
      
  | 
  inherited | 
      
  | 
  virtual | 
Implements Dtk_Entity.
      
  | 
  inherited | 
Return 2 or 3.
| Dtk_dir Dtk_Line::GetDirection | ( | ) | const | 
return direction of line
      
  | 
  virtual | 
Get Curve Parametrisation.
Implements Dtk_Curve.
      
  | 
  inherited | 
Get Internal UniqueID.
| Dtk_pnt Dtk_Line::GetOrigin | ( | ) | const | 
return origin of line
      
  | 
  virtual | 
Reimplemented from Dtk_Curve.
      
  | 
  inherited | 
Return last trim point.
      
  | 
  inherited | 
Return first trim point.
      
  | 
  inherited | 
Get end Trim parameter.
      
  | 
  inherited | 
Get start Trim parameter.
      
  | 
  inherited | 
      
  | 
  virtualinherited | 
      
  | 
  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.
      
  | 
  virtual | 
Normalize Curve.
Reimplemented from Dtk_Curve.
      
  | 
  virtualinherited | 
Reimplemented in Dtk_OffsetSurface.
      
  | 
  virtual | 
Reverse Curve.
Implements Dtk_Curve.
      
  | 
  inherited | 
Set curve dimension (2 or 3)
      
  | 
  virtualinherited | 
Set Trim parameter for curve.
      
  | 
  inherited | 
Set Trim points for curve.
      
  | 
  virtual | 
Convert Curve to nurbs.
Implements Dtk_Curve.
      
  | 
  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 Line with inTransformation
Reimplemented from Dtk_Curve.
      
  | 
  protected | 
Handle 
 
      
  | 
  protectedinherited |