class Face
{
vertex_t * _vertices; int _dimension;
public:
Face();
Face(const vertex_t * vertices, int dimension);
Face(const Face & cpy);
Face & operator=(const Face & cpy);
~Face();
booloperator==(const Face & cmp) const; booloperator!=(const Face & cmp) const;
int dimension() const;
// returns a reference to the i-th vertex. const vertex_t & vertex(unsignedint i) const;
// returns the boundary face obtained by omitting the i-th vertex.
Face * createBoundaryFace(unsignedint i) const;
// tests if the face is a subface of face bool isSubfaceOf(const Face & face) const;
// create linkFace static Face linkFace(const Face & face, const face_list_t & linkFacets); // create union static Face unite(const Face & face1, const Face & face2);
// serialization methods friend std::ostream & operator<< (std::ostream & os, const Face & face); friend std::istream & operator>> (std::istream & is, Face & face);
};
// adds all boundaryfaces of face to listOfBoundaryfaces void addBoundaryfacesOfFace(const Face & face, face_list_t & listOfBoundaryfaces); // adds all subfaces of face to listOfSubfaces void addSubfacesOfFace(const Face & face, face_list_t & listOfSubfaces);
#endif
¤ Dauer der Verarbeitung: 0.20 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.