MeshCurvatureStats

ReferencesSince v9.0
Analysis mesh curvature statistics.

Constructors

MeshCurvatureStats

#Since v9.0
Default constructor.
public MeshCurvatureStats()

Finalizer

~MeshCurvatureStats

#
Passively releases the unmanaged pointer.
~MeshCurvatureStats()

Properties

Average

#Since v9.0
Get the average of "finite" values.
public double Average { get; }

AverageDeviation

#Since v9.0
Get the average deviation of "finite" values.
public double AverageDeviation { get; }

Count

#Since v9.0
Gets the number of "finite" values.
public int Count { get; }

CurvatureStyle

#Since v9.0
Gets the curvature style of the curvature statistics.
public CurvatureStyle CurvatureStyle { get; }

InfiniteCount

#Since v9.0
Gets the number of "infinite" values.
public int InfiniteCount { get; }

Infinity

#Since v9.0
Curvature values greater than or equal to this are considered infinite and not used to compute the average of "finite" values or the average deviation of "finite" values.
public double Infinity { get; }

Mode

#Since v9.0
Get the mode of "finite" values.
public double Mode { get; }

Range

#Since v9.0
Gets the minumum and maximum curvature based on the value of CurvatureStyle: If CurvatureStyle.GaussianCurvature, the min Gaussian curvature and the max Gaussian curvature. If CurvatureStyle.MeanCurvature, the min unsigned mean curvature and the max unsigned mean curvature. If CurvatureStyle.MinimumCurvature, the min maximum unsigned radius of curvature and the max maximum unsigned radius of curvature. If CurvatureStyle.MaximumCurvature, the min minimum unsigned radius of curvature and the the max minimum unsigned radius of curvature.
public Interval Range { get; }

Methods

CreateFromMesh

#Since v9.0
Gets curvature statistics from analysis mesh.
public static MeshCurvatureStats CreateFromMesh(
Mesh
analysisMesh,
The analysis mesh.
CurvatureStyle
curvatureStyle
The curvature style.
)
The curvature statistics.

CreateFromMeshes

#Since v9.0
Gets curvature statistics from analysis meshes, and calculate total statistics.
public static MeshCurvatureStats CreateFromMeshes(
analysisMeshes,
An enumeration of analysis meshes.
CurvatureStyle
curvatureStyle
The curvature style.
)
Remarks: The meshes must carry principal curvatures. Set MeshingParameters.ComputeCurvature before meshing, or use Brep.CreateCurvatureAnalysisMesh. Meshes without them are skipped, and if none of them have any, the result is a zero range with Count 0 rather than an error. Mesh.HasPrincipalCurvatures reports whether a mesh qualifies.
The curvature statistics.

Dispose

#Since v9.0
Actively releases the unmanaged pointer.
public void Dispose()