MeshPrincipalCurvatureList

ReferencesSince v9.0
Provides access to the principal curvatures of a mesh object.

Properties

Capacity

#Since v9.0
Gets or sets the total number of principal curvatures the internal data structure can hold without resizing.
public int Capacity { get; set; }

Count

#Since v9.0
Gets or sets the number of principal curvatures.
public int Count { get; set; }
Count
Explicit

ICollection.IsSynchronized

#
bool ICollection.IsSynchronized
Explicit

ICollection.SyncRoot

#
Explicit

IList.IsFixedSize

#
bool IList.IsFixedSize
Explicit

IList.IsReadOnly

#
bool IList.IsReadOnly

Indexers

Explicit

IList.this[]

#
object IList.this[
index
]

this[]

#Since v9.0
Gets or sets the principal curvature at the given index.
public SurfaceCurvature this[
index
] { get; set; }
The principal curvature at [index].

Methods

Add

#Since v9.0
Adds a new principal curvature to the end of the principal curvature list.
public int Add(
surfaceCurvature
Principal curvature to append.
)
The index of the newly added principal curvature.

Clear

#Since v9.0
Clears the principal curvature list on the mesh.
public void Clear()

Destroy

#Since v9.0
Releases all memory allocated to store principal curvatures. The list capacity will be 0 after this call.

Subsequent calls can add new items.

public void Destroy()

GetCurvatureStats

#Since v9.0
Gets the mesh's curvature statistics.
public MeshCurvatureStats GetCurvatureStats(
CurvatureStyle
curvatureStyle
The curvature style.
)
Remarks: If the mesh carries no principal curvatures, the result is a zero range with Count 0 rather than an error.
The mesh's curvature statistics.

GetEnumerator

#Since v9.0
Gets an enumerator that yields all principal curvatures in this collection.
public IEnumerator<SurfaceCurvature> GetEnumerator()
The enumerator.

SetSurfaceCurvature

#Since v9.0
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 bool SetSurfaceCurvature(
index,
Index of vertex color to set. If index equals Count, then the color will be appended.
surfaceCurvature
Principal curvature to set.
)
true on success, false on failure.
void ICollection<SurfaceCurvature>.CopyTo(
array,
arrayIndex
)
Explicit

IList<SurfaceCurvature>.Insert

#
void IList<SurfaceCurvature>.Insert()
Explicit

IList<SurfaceCurvature>.RemoveAt

#
void IList<SurfaceCurvature>.RemoveAt(
index
)
Explicit

ICollection.CopyTo

#
void ICollection.CopyTo(
array,
index
)
Explicit

IEnumerable.GetEnumerator

#Since v9.0
IEnumerator IEnumerable.GetEnumerator()
Explicit

IList.Add

#
int IList.Add(
value
)
Explicit

IList.Contains

#
bool IList.Contains(
value
)
Explicit

IList.IndexOf

#
int IList.IndexOf(
value
)
Explicit

IList.Insert

#
void IList.Insert(
index,
value
)
Explicit

IList.Remove

#
void IList.Remove(
value
)
Explicit

IList.RemoveAt

#
void IList.RemoveAt(
index
)