Click or drag to resize

Triangle3dTrySmallestEnclosingTriangle Method

Attempt to create the smallest triangle containing a set of planar points.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.4
Syntax
public static bool TrySmallestEnclosingTriangle(
	IEnumerable<Point2d> points,
	double tolerance,
	out Triangle3d triangle
)

Parameters

points
Type: System.Collections.GenericIEnumerablePoint2d
The points to enclose.
tolerance
Type: SystemDouble
The tolerance to use
triangle
Type: Rhino.GeometryTriangle3d
The resulting triangle on success.

Return Value

Type: Boolean
true on success, false on failure.
See Also