#include <PolygonModel2d.hpp>
Public Types | |
typedef PeriodicBspline < ublas::fixed_vector< float_t, 2 > > | curve_t |
Public Member Functions | |
PolygonModel2d (const Position2d &position, size_t n_atoms=0, size_t n_connections=0) | |
virtual std::auto_ptr < BoundaryDiscretizer< 2 > > | boundary_discretizer (size_t n_points) const |
void | compute_boundary (size_t n_sector_discretization_points, Polygon &polygon) const |
Computes the boundary polygon of the model. |
std::auto_ptr< BoundaryDiscretizer< 2 > > imaging::PolygonModel2d::boundary_discretizer | ( | size_t | n_points | ) | const [virtual] |
Returns a boundary discretizer for this shape.
Implements imaging::DiscretizableShapeInterface< 2 >.