Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tf_mesh_create.h
Go to the documentation of this file.
1/*******************************************************************************
2 * This file is part of Tissue Forge.
3 * Copyright (c) 2022-2024 T.J. Sego and Tien Comlekoglu
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published
7 * by the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 ******************************************************************************/
19
25#ifndef _MODELS_VERTEX_SOLVER_TF_MESH_CREATE_H_
26#define _MODELS_VERTEX_SOLVER_TF_MESH_CREATE_H_
27
28#include "tfMesh.h"
29
30#include <vector>
31
32namespace TissueForge::models::vertex {
33
49 CPPAPI_FUNC(std::vector<std::vector<SurfaceHandle> >) createQuadMesh(
50 SurfaceType *stype,
51 const FVector3 &startPos,
52 const unsigned int &num_1,
53 const unsigned int &num_2,
54 const FloatP_t &len_1,
55 const FloatP_t &len_2,
56 const char *ax_1="x",
57 const char *ax_2="y"
58 );
59
78 CPPAPI_FUNC(std::vector<std::vector<std::vector<BodyHandle> > >) createPLPDMesh(
79 BodyType *btype,
80 SurfaceType *stype,
81 const FVector3 &startPos,
82 const unsigned int &num_1,
83 const unsigned int &num_2,
84 const unsigned int &num_3,
85 const FloatP_t &len_1,
86 const FloatP_t &len_2,
87 const FloatP_t &len_3,
88 const char *ax_1="x",
89 const char *ax_2="y"
90 );
91
106 CPPAPI_FUNC(std::vector<std::vector<SurfaceHandle> >) createHex2DMesh(
107 SurfaceType *stype,
108 const FVector3 &startPos,
109 const unsigned int &num_1,
110 const unsigned int &num_2,
111 const FloatP_t &hexRad,
112 const char *ax_1="x",
113 const char *ax_2="y"
114 );
115
136 CPPAPI_FUNC(std::vector<std::vector<std::vector<BodyHandle> > >) createHex3DMesh(
137 BodyType *btype,
138 SurfaceType *stype,
139 const FVector3 &startPos,
140 const unsigned int &num_1,
141 const unsigned int &num_2,
142 const unsigned int &num_3,
143 const FloatP_t &hexRad,
144 const FloatP_t &hex_height,
145 const char *ax_1="x",
146 const char *ax_2="y"
147 );
148
149};
150
151#endif // _MODELS_VERTEX_SOLVER_TF_MESH_CREATE_H_
A handle to a Body.
Definition tfBody.h:345
Mesh body type.
Definition tfBody.h:608
A handle to a Surface.
Definition tfSurface.h:630
Mesh surface type.
Definition tfSurface.h:1099