Table of Contents

Class Rectangle

Namespace
OpenMEPSandbox.Geometry
Assembly
OpenMEPSandbox.dll
public class Rectangle
Inheritance
Rectangle
Inherited Members

Methods

Divide(Rectangle, double, double)

Divide a rectangle into smaller rectangles

[MultiReturn(new string[] { "DividedRectangles" })]
public static Dictionary<string, object> Divide(Rectangle rectangle, double distanceX, double distanceY)

Parameters

rectangle Rectangle

The rectangle to divide

distanceX double

the distance between each rectangle in X direction

distanceY double

the distance between each rectangle in Y direction

Returns

Dictionary<string, object>

Rectangles