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

Go to the source code of this file.

Data Structures

struct  tfVertexSolverConvexPolygonConstraintHandle
 Handle to a models::vertex::ConvexPolygonConstraint instance. More...
 

Functions

HRESULT tfVertexSolverConvexPolygonConstraint_init (struct tfVertexSolverConvexPolygonConstraintHandle *handle, tfFloatP_t lam)
 Initialize an instance.
 
HRESULT tfVertexSolverConvexPolygonConstraint_destroy (struct tfVertexSolverConvexPolygonConstraintHandle *handle)
 Destroy an instance.
 
HRESULT tfVertexSolverConvexPolygonConstraint_getLam (struct tfVertexSolverConvexPolygonConstraintHandle *handle, tfFloatP_t *result)
 Get the constraint value.
 
HRESULT tfVertexSolverConvexPolygonConstraint_setLam (struct tfVertexSolverConvexPolygonConstraintHandle *handle, tfFloatP_t lam)
 Set the constraint value.
 
HRESULT tfVertexSolverConvexPolygonConstraint_toBase (struct tfVertexSolverConvexPolygonConstraintHandle *handle, struct tfVertexSolverMeshObjActorHandle *result)
 Cast to a base actor instance.
 
HRESULT tfVertexSolverConvexPolygonConstraint_fromBase (struct tfVertexSolverMeshObjActorHandle *handle, struct tfVertexSolverConvexPolygonConstraintHandle *result)
 Cast from a base actor instance.
 

Function Documentation

◆ tfVertexSolverConvexPolygonConstraint_destroy()

HRESULT tfVertexSolverConvexPolygonConstraint_destroy ( struct tfVertexSolverConvexPolygonConstraintHandle * handle)

Destroy an instance.

Parameters
handlepopulated handle

◆ tfVertexSolverConvexPolygonConstraint_fromBase()

HRESULT tfVertexSolverConvexPolygonConstraint_fromBase ( struct tfVertexSolverMeshObjActorHandle * handle,
struct tfVertexSolverConvexPolygonConstraintHandle * result )

Cast from a base actor instance.

Parameters
handlepopulated handle
resultresult of cast

◆ tfVertexSolverConvexPolygonConstraint_getLam()

HRESULT tfVertexSolverConvexPolygonConstraint_getLam ( struct tfVertexSolverConvexPolygonConstraintHandle * handle,
tfFloatP_t * result )

Get the constraint value.

Parameters
handlepopulated handle
resultconstraint value

◆ tfVertexSolverConvexPolygonConstraint_init()

HRESULT tfVertexSolverConvexPolygonConstraint_init ( struct tfVertexSolverConvexPolygonConstraintHandle * handle,
tfFloatP_t lam )

Initialize an instance.

Parameters
handlehandle to populate
lamconstraint value

◆ tfVertexSolverConvexPolygonConstraint_setLam()

HRESULT tfVertexSolverConvexPolygonConstraint_setLam ( struct tfVertexSolverConvexPolygonConstraintHandle * handle,
tfFloatP_t lam )

Set the constraint value.

Parameters
handlepopulated handle
lamconstraint value

◆ tfVertexSolverConvexPolygonConstraint_toBase()

HRESULT tfVertexSolverConvexPolygonConstraint_toBase ( struct tfVertexSolverConvexPolygonConstraintHandle * handle,
struct tfVertexSolverMeshObjActorHandle * result )

Cast to a base actor instance.

Parameters
handlepopulated handle
resultresult of cast