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

Go to the source code of this file.

Data Structures

struct  tfVertexSolverVolumeConstraintHandle
 Handle to a models::vertex::VolumeConstraint instance. More...
 

Functions

HRESULT tfVertexSolverVolumeConstraint_init (struct tfVertexSolverVolumeConstraintHandle *handle, tfFloatP_t lam, tfFloatP_t constr)
 Initialize an instance.
 
HRESULT tfVertexSolverVolumeConstraint_destroy (struct tfVertexSolverVolumeConstraintHandle *handle)
 Destroy an instance.
 
HRESULT tfVertexSolverVolumeConstraint_getLam (struct tfVertexSolverVolumeConstraintHandle *handle, tfFloatP_t *result)
 Get the constraint value.
 
HRESULT tfVertexSolverVolumeConstraint_setLam (struct tfVertexSolverVolumeConstraintHandle *handle, tfFloatP_t lam)
 Set the constraint value.
 
HRESULT tfVertexSolverVolumeConstraint_getConstr (struct tfVertexSolverVolumeConstraintHandle *handle, tfFloatP_t *result)
 Get the target value.
 
HRESULT tfVertexSolverVolumeConstraint_setConstr (struct tfVertexSolverVolumeConstraintHandle *handle, tfFloatP_t constr)
 Set the target value.
 
HRESULT tfVertexSolverVolumeConstraint_toBase (struct tfVertexSolverVolumeConstraintHandle *handle, struct tfVertexSolverMeshObjActorHandle *result)
 Cast to a base actor instance.
 
HRESULT tfVertexSolverVolumeConstraint_fromBase (struct tfVertexSolverMeshObjActorHandle *handle, struct tfVertexSolverVolumeConstraintHandle *result)
 Cast from a base actor instance.
 

Function Documentation

◆ tfVertexSolverVolumeConstraint_destroy()

HRESULT tfVertexSolverVolumeConstraint_destroy ( struct tfVertexSolverVolumeConstraintHandle * handle)

Destroy an instance.

Parameters
handlepopulated handle

◆ tfVertexSolverVolumeConstraint_fromBase()

HRESULT tfVertexSolverVolumeConstraint_fromBase ( struct tfVertexSolverMeshObjActorHandle * handle,
struct tfVertexSolverVolumeConstraintHandle * result )

Cast from a base actor instance.

Parameters
handlepopulated handle
resultresult of cast

◆ tfVertexSolverVolumeConstraint_getConstr()

HRESULT tfVertexSolverVolumeConstraint_getConstr ( struct tfVertexSolverVolumeConstraintHandle * handle,
tfFloatP_t * result )

Get the target value.

Parameters
handlepopulated handle
resulttarget value

◆ tfVertexSolverVolumeConstraint_getLam()

HRESULT tfVertexSolverVolumeConstraint_getLam ( struct tfVertexSolverVolumeConstraintHandle * handle,
tfFloatP_t * result )

Get the constraint value.

Parameters
handlepopulated handle
resultconstraint value

◆ tfVertexSolverVolumeConstraint_init()

HRESULT tfVertexSolverVolumeConstraint_init ( struct tfVertexSolverVolumeConstraintHandle * handle,
tfFloatP_t lam,
tfFloatP_t constr )

Initialize an instance.

Parameters
handlehandle to populate
lamconstraint value
constrtarget value

◆ tfVertexSolverVolumeConstraint_setConstr()

HRESULT tfVertexSolverVolumeConstraint_setConstr ( struct tfVertexSolverVolumeConstraintHandle * handle,
tfFloatP_t constr )

Set the target value.

Parameters
handlepopulated handle
lamtarget value

◆ tfVertexSolverVolumeConstraint_setLam()

HRESULT tfVertexSolverVolumeConstraint_setLam ( struct tfVertexSolverVolumeConstraintHandle * handle,
tfFloatP_t lam )

Set the constraint value.

Parameters
handlepopulated handle
lamconstraint value

◆ tfVertexSolverVolumeConstraint_toBase()

HRESULT tfVertexSolverVolumeConstraint_toBase ( struct tfVertexSolverVolumeConstraintHandle * handle,
struct tfVertexSolverMeshObjActorHandle * result )

Cast to a base actor instance.

Parameters
handlepopulated handle
resultresult of cast