Click or drag to resize

BrepCreatePatch Method (IEnumerableGeometryBase, Surface, Double)

Constructs a brep patch.

This is the simple version of fit that uses a specified starting surface.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
public static Brep CreatePatch(
	IEnumerable<GeometryBase> geometry,
	Surface startingSurface,
	double tolerance


Type: System.Collections.GenericIEnumerableGeometryBase
Combination of Curves, BrepTrims, Points, PointClouds or Meshes. Curves and trims are sampled to get points. Trims are sampled for points and normals.
Type: Rhino.GeometrySurface
A starting surface (can be null).
Type: SystemDouble
Tolerance used by input analysis functions for loop finding, trimming, etc.

Return Value

Type: Brep
Brep fit through input on success, or null on error.
See Also