Click or drag to resize
BrepAddSurface Method
Adds a 3D surface used by BrepFace.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public int AddSurface(
	Surface surface
)

Parameters

surface
Type: Rhino.GeometrySurface
A copy of the surface is added to this brep.

Return Value

Type: Int32
Index that should be used to reference the geometry.

-1 is returned if the input is not acceptable.

See Also