Click or drag to resize

BrepCurveListAdd Method

Adds a curve

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
public int Add(
	Curve curve


Type: Rhino.GeometryCurve
A copy of the curve 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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also