Table of Contents

Struct DxfRectangle3d

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

The four corners of a frame in world coordinates, as AutoCAD's Rectangle3d: where an OLE object is shown (Position3d). The corners are as the drawing holds them, not checked to be square: a picture 83.58 by 30.67 laid along x from (15.72, 12.19, 0) has its upper left corner at (15.72, 42.85, 0) and its lower right at (99.29, 12.19, 0).

public readonly struct DxfRectangle3d
Inherited Members

Constructors

DxfRectangle3d(GeoPoint3, GeoPoint3, GeoPoint3, GeoPoint3)

Initializes the corners, in the order of AutoCAD's Rectangle3d(upperLeft, upperRight, lowerLeft, lowerRight): the two upper ones, then the two lower ones, each from the left.

Properties

LowerLeft

Gets the lower left corner, as AutoCAD's LowerLeft.

LowerRight

Gets the lower right corner, as AutoCAD's LowerRight.

UpperLeft

Gets the upper left corner, as AutoCAD's UpperLeft.

UpperRight

Gets the upper right corner, as AutoCAD's UpperRight.

Methods

ToString()

Gives the corners as a line for debugging, the upper two, then the lower two.