t8
1.2.0
t8code is a C library to manage a forest of adaptive space-trees of general element classes in parallel.
|
This header provides the C interface to create a occ geometry. More...
Go to the source code of this file.
Typedefs | |
typedef struct t8_geometry_occ | t8_geometry_occ_c |
This typedef holds virtual functions for a particular geometry. More... | |
Functions | |
t8_geometry_occ_c * | t8_geometry_occ_new (int dimension, const char *fileprefix, const char *name_in) |
Create a new occ geometry of a given dimension. More... | |
void | t8_geometry_occ_destroy (t8_geometry_occ_c **geom) |
Destroy a occ geometry that was created with t8_geometry_occ_new. More... | |
Variables | |
const int | t8_edge_vertex_to_tree_vertex [T8_ECLASS_MAX_EDGES][2] |
const int | t8_edge_to_face [T8_ECLASS_MAX_EDGES][2] |
const int | t8_face_to_edge [T8_ECLASS_MAX_FACES][T8_ECLASS_MAX_EDGES] |
This header provides the C interface to create a occ geometry.
typedef struct t8_geometry_occ t8_geometry_occ_c |
This typedef holds virtual functions for a particular geometry.
We need it so that we can use t8_geometry_occ_c pointers in .c files without them seeing the actual C++ code (and then not compiling)
void t8_geometry_occ_destroy | ( | t8_geometry_occ_c ** | geom | ) |
Destroy a occ geometry that was created with t8_geometry_occ_new.
[in,out] | geom | A occ geometry. Set to NULL on output. |
t8_geometry_occ_c* t8_geometry_occ_new | ( | int | dimension, |
const char * | fileprefix, | ||
const char * | name_in | ||
) |
Create a new occ geometry of a given dimension.
[in] | dimension | 0 <= dimension <= 3. The dimension. |
[in] | fileprefix | Prefix of a .brep file from which to extract an occ geometry. |
[in] | name | The name to give this geometry. |