4 #ifndef FIRE_GEAR_GEOM_COORDINATESEQUENCE_HPP_INCLUDED
5 #define FIRE_GEAR_GEOM_COORDINATESEQUENCE_HPP_INCLUDED
7 #include <boost/shared_ptr.hpp>
12 #include "fire/export.hpp"
57 std::auto_ptr< std::vector< Coordinate* > > coordinates;
102 const Coordinate& getAt(std::size_t index)
const;
119 double getXAt(std::size_t index)
const;
136 double getYAt(std::size_t index)
const;
153 double getZAt(std::size_t index)
const;
170 void getAt(std::size_t index,
Coordinate& coordinate)
const;
182 std::size_t getSize()
const;
199 void toVector(std::vector< Coordinate >& coordinates)
const;
216 void add(
const std::vector< Coordinate >& coordinates,
bool allowRepeated =
true);
250 void add(
const Coordinate& coordinate,
bool allowRepeated =
true);
272 void add(std::size_t index,
const Coordinate& coordinate,
bool allowRepeated =
true);
289 void setAt(
const Coordinate& coordinate, std::size_t index);
306 void setXAt(std::size_t index,
double x);
323 void setYAt(std::size_t index,
double y);
340 void setZAt(std::size_t index,
double z);
352 void deleteAt(std::size_t index);
364 std::string toString()
const;
Definition: Coordinate.hpp:48
Definition: CoordinateSequence.hpp:49