|
Tissue Forge C 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
|


Go to the source code of this file.
Functions | |
| HRESULT | tfVertexSolverCreateQuadMesh (struct tfVertexSolverSurfaceTypeHandle *stype, tfFloatP_t *startPos, unsigned int num_1, unsigned int num_2, tfFloatP_t len_1, tfFloatP_t len_2, const char *ax_1, const char *ax_2, struct tfVertexSolverSurfaceHandleHandle **result) |
| Populate the mesh with quadrilateral surfaces. | |
| HRESULT | tfVertexSolverCreatePLPDMesh (struct tfVertexSolverBodyTypeHandle *btype, struct tfVertexSolverSurfaceTypeHandle *stype, tfFloatP_t *startPos, unsigned int num_1, unsigned int num_2, unsigned int num_3, tfFloatP_t len_1, tfFloatP_t len_2, tfFloatP_t len_3, const char *ax_1, const char *ax_2, struct tfVertexSolverBodyHandleHandle **result) |
| Populate the mesh with parallelepiped bodies. | |
| HRESULT | tfVertexSolverCreateHex2DMesh (struct tfVertexSolverSurfaceTypeHandle *stype, tfFloatP_t *startPos, unsigned int num_1, unsigned int num_2, tfFloatP_t hexRad, const char *ax_1, const char *ax_2, struct tfVertexSolverSurfaceHandleHandle **result) |
| Populate the mesh with hexagonal surfaces. | |
| HRESULT | tfVertexSolverCreateHex3DMesh (struct tfVertexSolverBodyTypeHandle *btype, struct tfVertexSolverSurfaceTypeHandle *stype, tfFloatP_t *startPos, unsigned int num_1, unsigned int num_2, unsigned int num_3, tfFloatP_t hexRad, tfFloatP_t hex_height, const char *ax_1, const char *ax_2, struct tfVertexSolverBodyHandleHandle **result) |
| Populate the mesh with bodies from extruded hexagonal surfaces. | |
| HRESULT tfVertexSolverCreateHex2DMesh | ( | struct tfVertexSolverSurfaceTypeHandle * | stype, |
| tfFloatP_t * | startPos, | ||
| unsigned int | num_1, | ||
| unsigned int | num_2, | ||
| tfFloatP_t | hexRad, | ||
| const char * | ax_1, | ||
| const char * | ax_2, | ||
| struct tfVertexSolverSurfaceHandleHandle ** | result ) |
Populate the mesh with hexagonal surfaces.
Requires an initialized solver.
| stype | surface type |
| startPos | starting position |
| num_1 | number of elements in the first direction |
| num_2 | number of elements in the second direction |
| hexRad | radius of hexagon vertices |
| ax_1 | axis name of the first direction (e.g., "x") |
| ax_2 | axis name of the second direction |
| result | constructed surfaces |
| HRESULT tfVertexSolverCreateHex3DMesh | ( | struct tfVertexSolverBodyTypeHandle * | btype, |
| struct tfVertexSolverSurfaceTypeHandle * | stype, | ||
| tfFloatP_t * | startPos, | ||
| unsigned int | num_1, | ||
| unsigned int | num_2, | ||
| unsigned int | num_3, | ||
| tfFloatP_t | hexRad, | ||
| tfFloatP_t | hex_height, | ||
| const char * | ax_1, | ||
| const char * | ax_2, | ||
| struct tfVertexSolverBodyHandleHandle ** | result ) |
Populate the mesh with bodies from extruded hexagonal surfaces.
Requires an initialized solver.
Surfaces are placed in the plane of the first and second directions, and extruded along the third direction.
| btype | body type |
| stype | surface type |
| startPos | starting position |
| num_1 | number of elements in the first direction |
| num_2 | number of elements in the second direction |
| num_3 | number of elements in the third directionnumber of elements in the third direction |
| hexRad | radius of hexagon vertices |
| hex_height | extrusion length per body |
| ax_1 | axis name of the first direction (e.g., "x") |
| ax_2 | axis name of the second direction |
| result | constructed bodies |
| HRESULT tfVertexSolverCreatePLPDMesh | ( | struct tfVertexSolverBodyTypeHandle * | btype, |
| struct tfVertexSolverSurfaceTypeHandle * | stype, | ||
| tfFloatP_t * | startPos, | ||
| unsigned int | num_1, | ||
| unsigned int | num_2, | ||
| unsigned int | num_3, | ||
| tfFloatP_t | len_1, | ||
| tfFloatP_t | len_2, | ||
| tfFloatP_t | len_3, | ||
| const char * | ax_1, | ||
| const char * | ax_2, | ||
| struct tfVertexSolverBodyHandleHandle ** | result ) |
Populate the mesh with parallelepiped bodies.
Requires an initialized solver.
| btype | body type |
| stype | surface type |
| startPos | starting position |
| num_1 | number of elements in the first direction |
| num_2 | number of elements in the second direction |
| num_3 | number of elements in the third direction |
| len_1 | length of each element in the first direction |
| len_2 | length of each element in the second direction |
| len_3 | length of each element in the third direction |
| ax_1 | axis name of the first direction (e.g., "x") |
| ax_2 | axis name of the second direction |
| result | constructed bodies |
| HRESULT tfVertexSolverCreateQuadMesh | ( | struct tfVertexSolverSurfaceTypeHandle * | stype, |
| tfFloatP_t * | startPos, | ||
| unsigned int | num_1, | ||
| unsigned int | num_2, | ||
| tfFloatP_t | len_1, | ||
| tfFloatP_t | len_2, | ||
| const char * | ax_1, | ||
| const char * | ax_2, | ||
| struct tfVertexSolverSurfaceHandleHandle ** | result ) |
Populate the mesh with quadrilateral surfaces.
Requires an initialized solver.
| stype | surface type |
| startPos | starting position |
| num_1 | number of elements in the first direction |
| num_2 | number of elements in the second direction |
| len_1 | length of each element in the first direction |
| len_2 | length of each element in the second direction |
| ax_1 | axis name of the first direction (e.g., "x") |
| ax_2 | axis name of the second direction |
| result | constructed surfaces |