25#ifndef _WRAPS_C_VERTEX_SOLVER_TFCMESH_H_
26#define _WRAPS_C_VERTEX_SOLVER_TFCMESH_H_
Handle to a models::vertex::BodyHandle instance.
Definition tfCBody.h:57
Handle to a models::vertex::MeshQuality instance.
Definition tfCMeshQuality.h:36
Handle to a models::vertex::SurfaceHandle instance.
Definition tfCSurface.h:68
Handle to a models::vertex::VertexHandle instance.
Definition tfCVertex.h:39
HRESULT tfVertexSolverMeshGetSurface(unsigned int idx, struct tfVertexSolverSurfaceHandleHandle *s)
Get a surface at a location in the list of surfaces.
HRESULT tfVertexSolverMeshRemoveVertices(struct tfVertexSolverVertexHandleHandle **v, unsigned int numObjs)
Remove vertices from the mesh; all connected surfaces and bodies are also removed.
HRESULT tfVertexSolverMeshRemoveVertex(struct tfVertexSolverVertexHandleHandle *v)
Remove a vertex from the mesh; all connected surfaces and bodies are also removed.
HRESULT tfVertexSolverMeshValidate(bool *result)
Validate state of the mesh.
HRESULT tfVertexSolverMeshFindVertex(tfFloatP_t *pos, tfFloatP_t tol, struct tfVertexSolverVertexHandleHandle *v)
Find a vertex in this mesh.
HRESULT tfVertexSolverMeshCreateBodies(struct tfVertexSolverBodyHandleHandle *handles, unsigned int numObjs)
Create a bodies.
HRESULT tfVertexSolverMeshSizeVertices(unsigned int *result)
Get the size of the list of vertices.
HRESULT tfVertexSolverMeshGetBody(unsigned int idx, struct tfVertexSolverBodyHandleHandle *b)
Get a body at a location in the list of bodies.
HRESULT tfVertexSolverMeshConnectedSurfaces(struct tfVertexSolverSurfaceHandleHandle *s1, struct tfVertexSolverSurfaceHandleHandle *s2, bool *result)
Check whether two surfaces are connected.
HRESULT tfVertexSolverMeshConnectedVertices(struct tfVertexSolverVertexHandleHandle *v1, struct tfVertexSolverVertexHandleHandle *v2, bool *result)
Check whether two vertices are connected.
HRESULT tfVertexSolverMeshCreateVertices(struct tfVertexSolverVertexHandleHandle **handles, unsigned int *pids, unsigned int numObjs)
Create a vertices.
HRESULT tfVertexSolverMeshMakeDirty()
Manually notify that the mesh has been changed.
HRESULT tfVertexSolverMeshNumVertices(unsigned int *result)
Get the number of vertices.
HRESULT tfVertexSolverMeshCreateSurfaces(struct tfVertexSolverSurfaceHandleHandle **handles, unsigned int numObjs)
Create surfaces.
HRESULT tfVertexSolverMeshNumBodies(unsigned int *result)
Get the number of bodies.
HRESULT tfVertexSolverMeshCreateBody(struct tfVertexSolverBodyHandleHandle *handle)
Create a body.
HRESULT tfVertexSolverMeshQualityWorking(bool *result)
Test whether a mesh quality instance is working on the mesh.
HRESULT tfVertexSolverMeshSetQuality(struct tfVertexSolverMeshQualityHandle *quality)
Set the mesh quality instance.
HRESULT tfVertexSolverMeshHasQuality(bool *result)
Test whether this mesh has a mesh quality instance.
HRESULT tfVertexSolverMeshRemoveSurfaces(struct tfVertexSolverSurfaceHandleHandle **s, unsigned int numObjs)
Remove surfaces from the mesh; all connected bodies are also removed.
HRESULT tfVertexSolverMeshRemoveBodies(struct tfVertexSolverBodyHandleHandle **b, unsigned int numObjs)
Remove bodies from the mesh.
HRESULT tfVertexSolverMeshEnsureAvailableVertices(unsigned int numAlloc)
Ensure that there are a given number of allocated vertices.
HRESULT tfVertexSolverMeshSizeSurfaces(unsigned int *result)
Get the size of the list of surfaces.
HRESULT tfVertexSolverMeshGetVertexByPID(unsigned int pid, struct tfVertexSolverVertexHandleHandle *v)
Get the vertex for a given particle id.
HRESULT tfVertexSolverMeshRemoveBody(struct tfVertexSolverBodyHandleHandle *b)
Remove a body from the mesh.
HRESULT tfVertexSolverMeshConnectedBodies(struct tfVertexSolverBodyHandleHandle *b1, struct tfVertexSolverBodyHandleHandle *b2, bool *result)
Check whether two bodies are connected.
HRESULT tfVertexSolverMeshNumSurfaces(unsigned int *result)
Get the number of surfaces.
HRESULT tfVertexSolverMeshIs3D(bool *result)
Test whether the mesh is 3D.
HRESULT tfVertexSolverMeshGetVertex(unsigned int idx, struct tfVertexSolverVertexHandleHandle *v)
Get the vertex at a location in the list of vertices.
HRESULT tfVertexSolverMeshRemoveSurface(struct tfVertexSolverSurfaceHandleHandle *s)
Remove a surface from the mesh; all connected bodies are also removed.
HRESULT tfVertexSolverMeshUnlock()
Unlocks the mesh for thread-safe operations.
HRESULT tfVertexSolverMeshLock()
Locks the mesh for thread-safe operations.
HRESULT tfVertexSolverMeshEnsureAvailableSurfaces(unsigned int numAlloc)
Ensure that there are a given number of allocated surfaces.
HRESULT tfVertexSolverMeshGetQuality(struct tfVertexSolverMeshQualityHandle *quality)
Get the mesh quality instance.
HRESULT tfVertexSolverMeshSizeBodies(unsigned int *result)
Get the size of the list of bodies.
HRESULT tfVertexSolverMeshCreateVertex(struct tfVertexSolverVertexHandleHandle *handle, unsigned int pid)
Create a vertex.
HRESULT tfVertexSolverMeshEnsureAvailableBodies(unsigned int numAlloc)
Ensure that there are a given number of allocated bodies.
HRESULT tfVertexSolverMeshCreateSurface(struct tfVertexSolverSurfaceHandleHandle *handle)
Create a surface.