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
RectangleThe rectangle to divide
distanceX
doublethe distance between each rectangle in X direction
distanceY
doublethe distance between each rectangle in Y direction
Returns
- Dictionary<string, object>
Rectangles