C# Class Universe.Physics.ConvexDecompositionDotNet.Concavity

Mostrar archivo Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method Description
computeConcavity ( List vertices, List indices, float4 &plane, float &volume ) : float
computeMeshVolume ( List vertices, List indices ) : float
computeMeshVolume2 ( List vertices, List indices ) : float
featureMatch ( CTri m, List tris, List input_mesh ) : bool

Private Methods

Method Description
det ( float3 p1, float3 p2, float3 p3 ) : float
tetVolume ( float3 p0, float3 p1, float3 p2, float3 p3 ) : float

Method Details

computeConcavity() public static method

public static computeConcavity ( List vertices, List indices, float4 &plane, float &volume ) : float
vertices List
indices List
plane float4
volume float
return float

computeMeshVolume() public static method

public static computeMeshVolume ( List vertices, List indices ) : float
vertices List
indices List
return float

computeMeshVolume2() public static method

public static computeMeshVolume2 ( List vertices, List indices ) : float
vertices List
indices List
return float

featureMatch() public static method

public static featureMatch ( CTri m, List tris, List input_mesh ) : bool
m CTri
tris List
input_mesh List
return bool