Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tf_mesh_metrics.h File Reference
#include "tfVertex.h"
#include "tfSurface.h"
#include <tuple>
Include dependency graph for tf_mesh_metrics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TissueForge
 Include Python header, disable linking to pythonX_d.lib on Windows in debug mode.
 
namespace  TissueForge::models
 Application-specific Tissue Forge models and methods.
 

Functions

FMatrix3 TissueForge::models::vertex::edgeStrain (const VertexHandle &v1, const VertexHandle &v2)
 Calculate the strain in a edge defined by two vertices.
 
FMatrix3 TissueForge::models::vertex::vertexStrain (const VertexHandle &v)
 Calculate the strain in a vertex.
 

Function Documentation

◆ edgeStrain()

FMatrix3 TissueForge::models::vertex::edgeStrain ( const VertexHandle & v1,
const VertexHandle & v2 )

Calculate the strain in a edge defined by two vertices.

Parameters
v1first vertex
v2second vertex

◆ vertexStrain()

FMatrix3 TissueForge::models::vertex::vertexStrain ( const VertexHandle & v)

Calculate the strain in a vertex.

Uses a weighted average of edge strains, with a preference for closer measurements.

Parameters
vvertex