Skip to content

M_Rhino_Geometry_Brep_AddSurface

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Brep.AddSurface Method

Adds a 3D surface used by BrepFace.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public int AddSurface(
	Surface surface
)

VB

Public Function AddSurface ( 
	surface As Surface
) As Integer

Parameters

 

surface
Type: Rhino.Geometry.Surface
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.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Brep Class
Rhino.Geometry Namespace

Clone this wiki locally