Click or drag to resize

BrepMergeSurfaces Method (Surface, Surface, Double, Double)

Merges two surfaces into one surface at untrimmed edges.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Brep MergeSurfaces(
	Surface surface0,
	Surface surface1,
	double tolerance,
	double angleToleranceRadians
)

Parameters

surface0
Type: Rhino.GeometrySurface
The first surface to merge.
surface1
Type: Rhino.GeometrySurface
The second surface to merge.
tolerance
Type: SystemDouble
Surface edges must be within this tolerance for the two surfaces to merge.
angleToleranceRadians
Type: SystemDouble
Edge must be within this angle tolerance in order for contiguous edges to be combined into a single edge.

Return Value

Type: Brep
The merged surfaces as a Brep if successful, null if not successful.
Version Information

Rhino for Windows

Supported in: 6.6
See Also