]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/DataStructures/PolyLineParametricPath.h
...
[cpPlugins.git] / lib / cpExtensions / DataStructures / PolyLineParametricPath.h
index 3358d0fc4c13d130b6bb34b6ce23068c9eb8c2d3..7f122000948b60793d6f995152980e75939efd55 100644 (file)
@@ -26,6 +26,7 @@ namespace cpExtensions
       typedef typename TImageBase::PointType           TPoint;
       typedef typename TImageBase::DirectionType       TDirection;
       typedef typename Superclass::ContinuousIndexType TContinuousIndex;
+      typedef typename TContinuousIndex::IndexType     TIndex;
 
       typedef typename TPoint::VectorType TVector;
       typedef cpExtensions::Algorithms::BezierCurveFunction< TVector > TBezier;
@@ -44,7 +45,8 @@ namespace cpExtensions
     public:
       void AddVertex( const TContinuousIndex& vertex );
       unsigned long GetSize( ) const;
-      TContinuousIndex GetVertex( unsigned long i ) const;
+      TContinuousIndex GetContinuousVertex( unsigned long i ) const;
+      TIndex GetVertex( unsigned long i ) const;
       TPoint GetPoint( unsigned long i ) const;
       TPoint GetSmoothPoint( double u ) const;