Code Documentation
CalculateDistanceBetweenMeshes Method (busyWindow, firstMesh, secondMesh, maximumLocalDistance)
Visualisierung2Visualisierung2.MeshProcessingMeshSmootherCalculateDistanceBetweenMeshes(BusyWindow, Mesh, Mesh, Single)
Staircase-Aware Smoothing of Medical Surface Meshes
Calculates the local distances between each two corresponding vertices of two meshes with the same number of vertices.
Declaration Syntax
C#Visual BasicVisual C++
public static float[] CalculateDistanceBetweenMeshes(
	BusyWindow busyWindow,
	Mesh firstMesh,
	Mesh secondMesh,
	float maximumLocalDistance
)
Public Shared Function CalculateDistanceBetweenMeshes ( _
	busyWindow As BusyWindow, _
	firstMesh As Mesh, _
	secondMesh As Mesh, _
	maximumLocalDistance As Single _
) As Single()
public:
static array<float>^ CalculateDistanceBetweenMeshes(
	BusyWindow^ busyWindow, 
	Mesh^ firstMesh, 
	Mesh^ secondMesh, 
	float maximumLocalDistance
)
Parameters
busyWindow (BusyWindow)
If a BusyWindow instance is provided, the progress of the method is shown there. May be null.
firstMesh (Mesh)
One of the two meshes needed for the distance calculation.
secondMesh (Mesh)
One of the two meshes needed for the distance calculation. Must have the same number of vertices as firstMesh.
maximumLocalDistance (Single)
A value calculated from the original mesh's maximum extents in order to calculate a scale-invariant distance measure.
Return Value
The per-vertex local distance between firstMesh and secondMesh.

Assembly: Visualisierung2 (Module: Visualisierung2) Version: 1.0.0.0 (1.0.0.0)