Gerris
Functions

GfsGEdge

Functions

void gfs_gedge_link_boxes (GfsGEdge *edge)
GfsGEdge * gfs_gedge_new (GfsGEdgeClass *klass, GfsBox *b1, GfsBox *b2, FttDirection d)

Detailed Description

Link between #GfsBox.

See also:

Syntax reference


Function Documentation

void gfs_gedge_link_boxes ( GfsGEdge *  edge)
Parameters:
edgea #GfsGEdge.

Links the two boxes connected by edge. The boxes are set as their respective neighbors in the direction defined by edge (note that their relative positions are not set).

Here is the call graph for this function:

GfsGEdge* gfs_gedge_new ( GfsGEdgeClass *  klass,
GfsBox *  b1,
GfsBox *  b2,
FttDirection  d 
)
Parameters:
klassa #GfsGEdgeClass.
b1a #GfsBox.
b2another #GfsBox.
da direction.
Returns:
a new #GfsGEdge linking b1 to b2 in direction d. The boxes then need to be linked using gfs_gedge_link_boxes().
 All Data Structures Files Functions Variables