next up previous contents
Next: HMesh3d Up: Fundamental Methods on Hierarchical Previous: Projects for Meshes

Methods on other classes related to meshes

   

(HMESH2D_LENS *)GRAPE(lens, "get-lens")(name)

HMESH2D_LENS *lens
char *name

This method creates a new instance of Class Hmesh2d_Lens with name given as parameter name and initializes it with default values. In particular the estimators and thresholds are set to default-functions. The lens is assigned to an own interactive layer which allows to manipulate the lens-parameters.

   

(HMESH2D_LENS *)GRAPE(lens, "display")()

HMESH2D_LENS *lens

This method draws an icosaeder related to the parameters of the lens as a wire-frame-model. The center is the entry coord of the instance lens. The radius is a convex-combination depending on show_threshold between the inner and outer region of the mesh.

   

(MESH2D *)GRAPE(sc, "convert-to-mesh-send")()

SCENE *sc

This method tries to convert the instance sctex2html_wrap_inline3530object to one of class Mesh2d. If successful, this new instance is taken as sc's object. The old structure is still accessible via the created mesh's user_data pointer.

   

(MESH2D *)GRAPE(tr, "convert-to-mesh2d")()

TRIANG2D *tr

This method generates a Mesh2d instance based on the data of tr. Especially the original Triang2d structure remains unchanged and is accessible from the returned mesh via its user_data pointer. The resulting mesh carries no functions.

   

(MESH2D *)GRAPE(fe, "convert-to-mesh2d")()

FE2D *fe

This method generates a Mesh2d instance based on the data of fe. Especially the original Fe2d structure remains unchanged and is accessible from the returned mesh via its user_data pointer.


next up previous contents
Next: HMesh3d Up: Fundamental Methods on Hierarchical Previous: Projects for Meshes

SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.