Click or drag to resize

MeshCreateFromPlane Method

Constructs a planar mesh grid.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Mesh CreateFromPlane(
	Plane plane,
	Interval xInterval,
	Interval yInterval,
	int xCount,
	int yCount
)

Parameters

plane
Type: Rhino.GeometryPlane
Plane of mesh.
xInterval
Type: Rhino.GeometryInterval
Interval describing size and extends of mesh along plane x-direction.
yInterval
Type: Rhino.GeometryInterval
Interval describing size and extends of mesh along plane y-direction.
xCount
Type: SystemInt32
Number of faces in x-direction.
yCount
Type: SystemInt32
Number of faces in y-direction.

Return Value

Type: Mesh

[Missing <returns> documentation for "M:Rhino.Geometry.Mesh.CreateFromPlane(Rhino.Geometry.Plane,Rhino.Geometry.Interval,Rhino.Geometry.Interval,System.Int32,System.Int32)"]

Exceptions
ExceptionCondition
ArgumentExceptionThrown when plane is a null reference.
ArgumentExceptionThrown when xInterval is a null reference.
ArgumentExceptionThrown when yInterval is a null reference.
ArgumentOutOfRangeExceptionThrown when xCount is less than or equal to zero.
ArgumentOutOfRangeExceptionThrown when yCount is less than or equal to zero.
See Also