Click or drag to resize

Aligner Methods

The Aligner type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAlignVertices(IEnumerableGeometryBase, Double, Boolean, Boolean)
Moves vertices that lie within the specified distance of one another onto the same location.

This is helpful to close the seams between separate pieces of geometry.

All vertices are considered, not only those on naked edges, unless onlyNaked says otherwise.

See the

_AlignVertices
Rhino command for more information.

Public methodStatic memberAlignVertices(IEnumerableGeometryBase, Double, Boolean, Boolean, IEnumerableIEnumerableBoolean)
Moves vertices that lie within the specified distance of one another onto the same location.

This is helpful to close the seams between separate pieces of geometry.

See the

_AlignVertices
Rhino command for more information.

Public methodStatic memberSuggestDistance
Suggests a distance for AlignVertices(IEnumerableGeometryBase, Double, Boolean, Boolean) from the geometry itself, so the gaps do not have to be measured first.

A vertex whose nearest neighbour of all belongs to another object was meant to be shared with it. The largest of those gaps closes every one of them, and is smaller than the spacing each object has of its own at those places.

Public methodStatic memberSupportsGeometry
Tests whether a piece of geometry can have its vertices aligned.

Meshes, SubDs, point clouds and degree 1 curves are supported.

Top
See Also