[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Specialization of the polytope to polytopes which forms a star domain. More...
#include <vigra/polytope.hxx>
Specialization of the polytope to polytopes which forms a star domain.
| StarPolytope | ( | ) |
Constructor creates an empty StarPolytope with its center a the orign.
| StarPolytope | ( | const point_view_type & | center | ) |
Copy constructor.
| StarPolytope | ( | const point_view_type & | a, |
| const point_view_type & | b, | ||
| const point_view_type & | c, | ||
| const point_view_type & | center | ||
| ) |
Constructor for the 2-dimensional case taking three vertices and the center.
| StarPolytope | ( | const point_view_type & | a, |
| const point_view_type & | b, | ||
| const point_view_type & | c, | ||
| const point_view_type & | d, | ||
| const point_view_type & | center | ||
| ) |
Constructor for the 3-dimensional case taking four vertices and the center.
|
virtual |
Get the center of the star domain.
Add a facet to a 2-dimensional polytope.
|
virtual |
Add a facet to a 3-dimensional polytope.
Check if a point is inside the polytope.
Implements Polytope< N, T >.
Reimplemented in ConvexPolytope< N, T >.
Calculate the volume of the polytope.
Implements Polytope< N, T >.
Calculate the surface of the polytope.
Implements Polytope< N, T >.
|
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |