Click or drag to resize

MeshPrincipalCurvatureList Class

Provides access to the principal curvatures of a mesh object.
Inheritance Hierarchy
SystemObject
  Rhino.Geometry.CollectionsMeshPrincipalCurvatureList

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public class MeshPrincipalCurvatureList : IResizableList<SurfaceCurvature>, 
	IList<SurfaceCurvature>, ICollection<SurfaceCurvature>, IEnumerable<SurfaceCurvature>, 
	IEnumerable, IList, ICollection, IReadOnlyList<SurfaceCurvature>, 
	IReadOnlyCollection<SurfaceCurvature>

The MeshPrincipalCurvatureList type exposes the following members.

Properties
  NameDescription
Public propertyCapacity
Gets or sets the total number of principal curvatures the internal data structure can hold without resizing.
Public propertyCount
Gets or sets the number of principal curvatures.
Public propertyItem
Gets or sets the principal curvature at the given index.
Top
Methods
  NameDescription
Public methodAdd
Adds a new principal curvature to the end of the principal curvature list.
Public methodClear
Clears the principal curvature list on the mesh.
Public methodDestroy
Releases all memory allocated to store principal curvatures. The list capacity will be 0 after this call.

Subsequent calls can add new items.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCurvatureStats
Gets the mesh's curvature statistics.
Public methodGetEnumerator
Gets an enumerator that yields all principal curvatures in this collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetSurfaceCurvature
Sets or adds a principal curvature to the principal curvature iist.

If [index] is less than [Count], the existing principal curvature at [index] will be modified.

If [index] equals [Count], a new principal curvature is appended to the end of the principal curvature list.

If [index] is larger than [Count], the function will return false.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also