Adds a 3D surface used by BrepFace.
RhinoCommon (in RhinoCommon.dll)
public int AddSurface(
Public Function AddSurface (
surface As Surface
) As Integer
- Type: Rhino.GeometrySurface
A copy of the surface is added to this brep.
Index that should be used to reference the geometry.
-1 is returned if the input is not acceptable.