DynamoVisualProgramming.ZeroTouchLibrary by Autodesk

<PackageReference Include="DynamoVisualProgramming.ZeroTouchLibrary" Version="2.14.0-beta3345" />

 Rectangle

public class Rectangle : Polygon
public double Height { get; }

The height of the Rectangle

public double Width { get; }

The width of the Rectangle

public static Rectangle ByCornerPoints(IEnumerable<Point> points)

Create a Rectangle by four corner Points.

public static Rectangle ByCornerPoints(Point p1, Point p2, Point p3, Point p4)

Create a Rectangle by four corner Points.

public static Rectangle ByWidthLength(double width = 1, double length = 1)

Create a Rectangle centered at the WCS origin in the WCS XY Plane, with specified width (X Axis length), and length (Y Axis length).

public static Rectangle ByWidthLength(Plane plane, double width = 1, double length = 1)

Create a Rectangle centered at input Plane root, with input width (Plane X axis length), and length (Plane Y axis length).

public static Rectangle ByWidthLength(CoordinateSystem coordinateSystem, double width = 1, double length = 1)

Create a Rectangle centered at the input origin in the CoordinateSystem XY Plane, with specified width (X Axis length), and length (Y Axis length).