Table of Contents

Method GetOrientation

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetOrientation(out GeoPoint3, out GeoVector3, out GeoVector3)

Gives the corner the image is placed at and its two sides, as AutoCAD's Orientation gives them: the corner (group 10), the side along the bottom, the vector of one pixel across (11) times the pixels across (13), and the side up the left, the vector of one pixel up (12) times the pixels up (23). The image of 4 by 3 pixels 10 apart placed at (10, 20) gives (10, 20, 0), (40, 0, 0) and (0, 30, 0). The sides keep their lengths, and need not be square: AutoCAD keeps a sheared image so.

public void GetOrientation(out GeoPoint3 origin, out GeoVector3 u, out GeoVector3 v)

Parameters

origin GeoPoint3

The corner the image is placed at, the lower left of its lower left pixel.

u GeoVector3

The side along the bottom of the image.

v GeoVector3

The side up its left.