M_Rhino_Geometry_Surface_Split - mcneel/rhinocommon-api-docs GitHub Wiki

Surface.Split Method

Splits (divides) the surface into two parts at the specified parameter

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

Syntax

C#

public Surface[] Split(
	int direction,
	double parameter
)

VB

Public Function Split ( 
	direction As Integer,
	parameter As Double
) As Surface()

Parameters

 

direction
Type: System.Int32
0 = The surface is split vertically. The "west" side is returned as the first surface in the array and the "east" side is returned as the second surface in the array. 1 = The surface is split horizontally. The "south" side is returned as the first surface in the array and the "north" side is returned as the second surfae in the array
parameter
Type: System.Double
value of constant parameter in interval returned by Domain(direction)

Return Value

Type: Surface[]
Array of two surfaces on success

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Surface Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️