Class DxfOrdinateDimension
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
An ordinate dimension of a DXF file, as AutoCAD's OrdinateDimension: how far a point stands from an origin along x
or along y; a DIMENSION of kind 6, flag 64 of its group 70 set for one along x.
public sealed class DxfOrdinateDimension : DxfDimension
- Inheritance
-
DxfOrdinateDimension
- Inherited Members
Remarks
The dimension along x of (300, 40, 0) from the origin (280, 10, 0), its leader ending at (300, 60, 0), has Origin (group 10), DefiningPoint (13), LeaderEndPoint (14), UsingXAxis true and a Measurement of 20. As every DxfDimension, it is drawn by its block, which is not drawn anew when a point is moved.
Constructors
- DxfOrdinateDimension()
Initializes an ordinate dimension along y at the origin, as AutoCAD's
new OrdinateDimension(), in the style Standard.
- DxfOrdinateDimension(bool, GeoPoint3, GeoPoint3, string, DxfDimStyleTableRecord)
Initializes an ordinate dimension, as AutoCAD's
new OrdinateDimension(useXAxis, definingPoint, leaderEndPoint, dimText, dimStyle), from the origin of the world, in no file until it is added to one; it needs its DimBlock before it is.
Properties
- DefiningPoint
Gets or sets the point measured (groups 13, 23, 33), as AutoCAD's
DefiningPoint, in world coordinates.
- LeaderEndPoint
Gets or sets where the leader ends (groups 14, 24, 34), as AutoCAD's
LeaderEndPoint, in world coordinates.
- Measurement
Gets how far the point stands from the origin along x or y of the user's system the dimension was made in, as AutoCAD's
Measurement, its size: 20 for (300, 40, 0) from (280, 10, 0) along x. That system's x lies in the plane of the normal at the angle HorizontalRotation gives, the negative of it from the x of the normal's system (group 51, as the DXF reference says), so that a dimension moved or turned, which carries its 51 along, measures the same.
- Origin
Gets or sets the origin measured from (groups 10, 20, 30), as AutoCAD's
Origin, in world coordinates.
- UsingXAxis
Gets or sets whether the dimension measures along x (flag 64 of group 70), as AutoCAD's
UsingXAxis.
- UsingYAxis
Gets whether the dimension measures along y (flag 64 of group 70 not set), as AutoCAD's
UsingYAxis.