Click or drag to resize

BrepMergeSurfaces Method (Brep, Brep, Double, Double)

Merges two surfaces into one surface at untrimmed edges. Both surfaces must be untrimmed and share an edge.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public static Brep MergeSurfaces(
	Brep brep0,
	Brep brep1,
	double tolerance,
	double angleToleranceRadians
)

Parameters

brep0
Type: Rhino.GeometryBrep
The first single-face Brep to merge.
brep1
Type: Rhino.GeometryBrep
The second single-face Brep 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 Brep if successful, null if not successful.
See Also