|
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.52">NameFaces -- face object and related functions. Synopsis
#include <gts.h>
#define GTS_FACE_CLASS (klass)
#define GTS_FACE (obj)
#define GTS_IS_FACE (obj)
struct GtsFaceClass;
struct GtsFace;
GtsFaceClass* gts_face_class (void);
GtsFace* gts_face_new (GtsFaceClass *klass,
GtsEdge *e1,
GtsEdge *e2,
GtsEdge *e3);
gboolean gts_face_has_parent_surface (GtsFace *f,
GtsSurface *s);
guint gts_face_neighbor_number (GtsFace *f,
GtsSurface *s);
GSList* gts_face_neighbors (GtsFace *f,
GtsSurface *s);
void gts_face_foreach_neighbor (GtsFace *f,
GtsSurface *s,
GtsFunc func,
gpointer data);
GSList* gts_faces_from_edges (GSList *edges,
GtsSurface *s); |
DetailsGTS_FACE_CLASS()#define GTS_FACE_CLASS(klass) |
Casts klass to GtsFaceClass.
GTS_IS_FACE()Evaluates to TRUE if obj is a GtsFace, FALSE otherwise.
struct GtsFacestruct GtsFace {
GtsTriangle triangle;
GSList * surfaces;
}; |
The face object.
gts_face_has_parent_surface ()
gts_face_neighbor_number ()
gts_face_foreach_neighbor ()Calls func for each neighbor of f belonging to s (if not NULL).
gts_faces_from_edges ()GSList* gts_faces_from_edges (GSList *edges,
GtsSurface *s); |
Builds a list of unique faces which belong to s and have
one of their edges in edges.
|