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

Go to the source code of this file.

Data Structures

struct  tfVertexSolverSurfaceAreaConstraintHandle
 Handle to a models::vertex::SurfaceAreaConstraint instance. More...
 

Functions

HRESULT tfVertexSolverSurfaceAreaConstraint_init (struct tfVertexSolverSurfaceAreaConstraintHandle *handle, tfFloatP_t lam, tfFloatP_t constr)
 Initialize an instance.
 
HRESULT tfVertexSolverSurfaceAreaConstraint_destroy (struct tfVertexSolverSurfaceAreaConstraintHandle *handle)
 Destroy an instance.
 
HRESULT tfVertexSolverSurfaceAreaConstraint_getLam (struct tfVertexSolverSurfaceAreaConstraintHandle *handle, tfFloatP_t *result)
 Get the constraint value.
 
HRESULT tfVertexSolverSurfaceAreaConstraint_setLam (struct tfVertexSolverSurfaceAreaConstraintHandle *handle, tfFloatP_t lam)
 Set the constraint value.
 
HRESULT tfVertexSolverSurfaceAreaConstraint_getConstr (struct tfVertexSolverSurfaceAreaConstraintHandle *handle, tfFloatP_t *result)
 Get the target value.
 
HRESULT tfVertexSolverSurfaceAreaConstraint_setConstr (struct tfVertexSolverSurfaceAreaConstraintHandle *handle, tfFloatP_t constr)
 Set the target value.
 
HRESULT tfVertexSolverSurfaceAreaConstraint_toBase (struct tfVertexSolverSurfaceAreaConstraintHandle *handle, struct tfVertexSolverMeshObjActorHandle *result)
 Cast to a base actor instance.
 
HRESULT tfVertexSolverSurfaceAreaConstraint_fromBase (struct tfVertexSolverMeshObjActorHandle *handle, struct tfVertexSolverSurfaceAreaConstraintHandle *result)
 Cast from a base actor instance.
 

Function Documentation

◆ tfVertexSolverSurfaceAreaConstraint_destroy()

HRESULT tfVertexSolverSurfaceAreaConstraint_destroy ( struct tfVertexSolverSurfaceAreaConstraintHandle * handle)

Destroy an instance.

Parameters
handlepopulated handle

◆ tfVertexSolverSurfaceAreaConstraint_fromBase()

HRESULT tfVertexSolverSurfaceAreaConstraint_fromBase ( struct tfVertexSolverMeshObjActorHandle * handle,
struct tfVertexSolverSurfaceAreaConstraintHandle * result )

Cast from a base actor instance.

Parameters
handlepopulated handle
resultresult of cast

◆ tfVertexSolverSurfaceAreaConstraint_getConstr()

HRESULT tfVertexSolverSurfaceAreaConstraint_getConstr ( struct tfVertexSolverSurfaceAreaConstraintHandle * handle,
tfFloatP_t * result )

Get the target value.

Parameters
handlepopulated handle
resulttarget value

◆ tfVertexSolverSurfaceAreaConstraint_getLam()

HRESULT tfVertexSolverSurfaceAreaConstraint_getLam ( struct tfVertexSolverSurfaceAreaConstraintHandle * handle,
tfFloatP_t * result )

Get the constraint value.

Parameters
handlepopulated handle
resultconstraint value

◆ tfVertexSolverSurfaceAreaConstraint_init()

HRESULT tfVertexSolverSurfaceAreaConstraint_init ( struct tfVertexSolverSurfaceAreaConstraintHandle * handle,
tfFloatP_t lam,
tfFloatP_t constr )

Initialize an instance.

Parameters
handlehandle to populate
lamconstraint value
constrtarget value

◆ tfVertexSolverSurfaceAreaConstraint_setConstr()

HRESULT tfVertexSolverSurfaceAreaConstraint_setConstr ( struct tfVertexSolverSurfaceAreaConstraintHandle * handle,
tfFloatP_t constr )

Set the target value.

Parameters
handlepopulated handle
lamtarget value

◆ tfVertexSolverSurfaceAreaConstraint_setLam()

HRESULT tfVertexSolverSurfaceAreaConstraint_setLam ( struct tfVertexSolverSurfaceAreaConstraintHandle * handle,
tfFloatP_t lam )

Set the constraint value.

Parameters
handlepopulated handle
lamconstraint value

◆ tfVertexSolverSurfaceAreaConstraint_toBase()

HRESULT tfVertexSolverSurfaceAreaConstraint_toBase ( struct tfVertexSolverSurfaceAreaConstraintHandle * handle,
struct tfVertexSolverMeshObjActorHandle * result )

Cast to a base actor instance.

Parameters
handlepopulated handle
resultresult of cast