6 #ifndef POINTS_CARTESIAN_HPP
7 #define POINTS_CARTESIAN_HPP
12 #include <boost/python.hpp>
13 using namespace boost::python;
26 PointCartesian1D_t *point;
78 PointCartesian1D(PointCartesian1D_t *initial_point,
unsigned int initial_id=0);
93 PointCartesian1D(PointCartesian1D_t &initial_point,
unsigned int initial_id=-1);
100 size_t get_dimension();
107 const char * get_coord_system();
114 double get_coord(
unsigned int index);
121 void set_coord(
unsigned int index,
double new_value);
128 list get_coord_list();
178 PointCartesian1D_t & get_point();
185 unsigned int get_id();
192 void set_id(
unsigned int new_id);
234 PointCartesian2D_t *point;
286 PointCartesian2D(PointCartesian2D_t *initial_point,
unsigned int initial_id=0);
301 PointCartesian2D(PointCartesian2D_t &initial_point,
unsigned int initial_id=-1);
308 size_t get_dimension();
315 const char * get_coord_system();
322 double get_coord(
unsigned int index);
329 void set_coord(
unsigned int index,
double new_value);
336 list get_coord_list();
386 PointCartesian2D_t & get_point();
393 unsigned int get_id();
400 void set_id(
unsigned int new_id);
449 PointCartesian3D_t *point;
501 PointCartesian3D(PointCartesian3D_t *initial_point,
unsigned int initial_id=0);
516 PointCartesian3D(PointCartesian3D_t &initial_point,
unsigned int initial_id=-1);
523 size_t get_dimension();
530 const char * get_coord_system();
537 double get_coord(
unsigned int index);
544 void set_coord(
unsigned int index,
double new_value);
551 list get_coord_list();
601 PointCartesian3D_t & get_point();
608 unsigned int get_id();
615 void set_id(
unsigned int new_id);