#include <MrepModel2d.hpp>
Public Types | |
typedef PeriodicBspline < ublas::fixed_vector< float_t, 2 > > | curve_t |
Public Member Functions | |
MrepModel2d (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 (curve_t &spline_curve) const |
Computes the boundary spline curve of the model. |
std::auto_ptr< BoundaryDiscretizer< 2 > > imaging::MrepModel2d::boundary_discretizer | ( | size_t | n_points | ) | const [virtual] |
Returns a boundary discretizer for this shape.
Implements imaging::DiscretizableShapeInterface< 2 >.