Click or drag to resize

RhinoGetGetRectangleWithCounts Method (Int32, Int32, Int32, Int32, Boolean, Point3d)

Gets a 3d rectangle with prompts for counts in X and Y directions, and a SubDCorners option.

Namespace:  Rhino.Input
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static Result GetRectangleWithCounts(
	int xMin,
	ref int xCount,
	int yMin,
	ref int yCount,
	ref bool subDCorners,
	out Point3d[] corners
)

Parameters

xMin
Type: SystemInt32
Minimum value allowed for count in the x direction.
xCount
Type: SystemInt32
Count in the x direction.
yMin
Type: SystemInt32
Minimum value allowed for count in the y direction.
yCount
Type: SystemInt32
Count in the y direction.
subDCorners
Type: SystemBoolean
Value of the SubDCorners option.
corners
Type: Rhino.GeometryPoint3d
corners of the rectangle in counter-clockwise order.

Return Value

Type: Result
Commands.Result.Success if successful.
See Also