Tissue Forge C 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tfCAdhesion.h File Reference
#include <tf_port_c.h>
#include <models/vertex/solver/tfCMeshObj.h>
Include dependency graph for tfCAdhesion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tfVertexSolverAdhesionHandle
 Handle to a models::vertex::Adhesion instance. More...
 

Functions

HRESULT tfVertexSolverAdhesion_init (struct tfVertexSolverAdhesionHandle *handle, tfFloatP_t lam)
 Initialize an instance.
 
HRESULT tfVertexSolverAdhesion_destroy (struct tfVertexSolverAdhesionHandle *handle)
 Destroy an instance.
 
HRESULT tfVertexSolverAdhesion_getLam (struct tfVertexSolverAdhesionHandle *handle, tfFloatP_t *result)
 Get the adhesion value.
 
HRESULT tfVertexSolverAdhesion_setLam (struct tfVertexSolverAdhesionHandle *handle, tfFloatP_t lam)
 Set the adhesion value.
 
HRESULT tfVertexSolverAdhesion_toBase (struct tfVertexSolverAdhesionHandle *handle, struct tfVertexSolverMeshObjTypePairActorHandle *result)
 Cast to a base actor instance.
 
HRESULT tfVertexSolverAdhesion_fromBase (struct tfVertexSolverMeshObjTypePairActorHandle *handle, struct tfVertexSolverAdhesionHandle *result)
 Cast from a base actor instance.
 

Function Documentation

◆ tfVertexSolverAdhesion_destroy()

HRESULT tfVertexSolverAdhesion_destroy ( struct tfVertexSolverAdhesionHandle * handle)

Destroy an instance.

Parameters
handlepopulated handle

◆ tfVertexSolverAdhesion_fromBase()

HRESULT tfVertexSolverAdhesion_fromBase ( struct tfVertexSolverMeshObjTypePairActorHandle * handle,
struct tfVertexSolverAdhesionHandle * result )

Cast from a base actor instance.

Parameters
handlepopulated handle
resultresult of cast

◆ tfVertexSolverAdhesion_getLam()

HRESULT tfVertexSolverAdhesion_getLam ( struct tfVertexSolverAdhesionHandle * handle,
tfFloatP_t * result )

Get the adhesion value.

Parameters
handlepopulated handle
resultadhesion value

◆ tfVertexSolverAdhesion_init()

HRESULT tfVertexSolverAdhesion_init ( struct tfVertexSolverAdhesionHandle * handle,
tfFloatP_t lam )

Initialize an instance.

Parameters
handlehandle to populate
lamadhesion value

◆ tfVertexSolverAdhesion_setLam()

HRESULT tfVertexSolverAdhesion_setLam ( struct tfVertexSolverAdhesionHandle * handle,
tfFloatP_t lam )

Set the adhesion value.

Parameters
handlepopulated handle
lamadhesion value

◆ tfVertexSolverAdhesion_toBase()

HRESULT tfVertexSolverAdhesion_toBase ( struct tfVertexSolverAdhesionHandle * handle,
struct tfVertexSolverMeshObjTypePairActorHandle * result )

Cast to a base actor instance.

Parameters
handlepopulated handle
resultresult of cast