M_Rhino_Geometry_Surface_SetDomain - mcneel/rhinocommon-api-docs GitHub Wiki

Surface.SetDomain Method

Sets the domain in a direction.

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

Syntax

C#

public virtual bool SetDomain(
	int direction,
	Interval domain
)

VB

Public Overridable Function SetDomain ( 
	direction As Integer,
	domain As Interval
) As Boolean

Parameters

 

direction
Type: System.Int32
0 sets first parameter's domain, 1 sets second parameter's domain.
domain
Type: Rhino.Geometry.Interval
A new domain to be assigned.

Return Value

Type: Boolean
true if setting succeeded, otherwise false.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Surface Class
Rhino.Geometry Namespace

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