Click or drag to resize

MeshCreateFromTessellation Method

Attempts to create a mesh that is a triangulation of a list of points, projected on a plane, including its holes and fixed edges.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Mesh CreateFromTessellation(
	IEnumerable<Point3d> points,
	IEnumerable<IEnumerable<Point3d>> edges,
	Plane plane,
	bool allowNewVertices
)

Parameters

points
Type: System.Collections.GenericIEnumerablePoint3d
A list, an array or any enumerable of points.
edges
Type: System.Collections.GenericIEnumerableIEnumerablePoint3d
A list of polylines, or other lists of points representing edges. This can be null. If nested enumerable items are null, they will be discarded.
plane
Type: Rhino.GeometryPlane
A plane.
allowNewVertices
Type: SystemBoolean
If true, the mesh might have more vertices than the list of input points, if doing so will improve long thin triangles.

Return Value

Type: Mesh
A new mesh, or null if not successful.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf points is null.
ArgumentExceptionIf plane is not valid.
See Also