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

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.17 (5.13.60913.21340)
public int AddSurface(
	Surface 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