Mario Botsch, Daniel Sieger, Philipp Moeller, and Andreas Fabri
The surface mesh class provided by this package is an implementation of the halfedge data structure allowing to represent polyhedral surfaces. It is an alternative to the packages
Halfedge Data Structures and
3D Polyhedral Surface. The main differences are that it is indexed based and not pointer based, and that the mechanism for adding information to vertices, halfedges, edges, and faces is much simpler and can be used at runtime and not at compile time.
Classes
|
std::istream & | CGAL::sm_skip_comments (std::istream &in) |
|
template<typename P > |
std::ostream & | operator<< (std::ostream &os, const Surface_mesh< P > &sm) |
|
template<typename P > |
std::istream & | operator>> (std::istream &is, Surface_mesh< P > &sm) |
|
template<typename P >
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const Surface_mesh< P > & |
sm |
|
) |
| |
|
related |
Inserts the surface mesh in an output stream in Ascii OFF format. Only the point property is inserted in the stream.
- Precondition
operator<<(std::ostream&,const P&)
must be defined.
template<typename P >
std::istream & operator>> |
( |
std::istream & |
is, |
|
|
Surface_mesh< P > & |
sm |
|
) |
| |
|
related |
Extracts the surface mesh from an input stream in Ascii OFF format. The operator only reads the point property and does not read files with vertex normals or textures.
- Precondition
operator>>(std::istream&,const P&)
must be defined.
std::istream& CGAL::sm_skip_comments |
( |
std::istream & |
in | ) |
|