Method GetVertices
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetVertices()
Gets the corners of the image as it is shown, in world coordinates, the first again at the end, as AutoCAD 2021's
GetVertices gives them. Clipped (IsClipped, and a boundary set, 280 of 1), the corners of its
boundary taken to the world (PixelToModelTransform): a rectangle from its least corner, (x, y) of the
least of each, up its x to the greatest y and on; a polygon in its order. Else the frame of the whole image, from
the corner it is placed at up its left side and round: the picture 40 by 30 placed at (10, 20) gives (10, 20, 0),
(10, 50, 0), (50, 50, 0), (50, 20, 0) and (10, 20, 0); clipped by the triangle of the pixels (0, 0), (3, 0), (1.5,
2.5), it gives (15, 45, 0), (45, 45, 0), (30, 20, 0) and (15, 45, 0).
public IReadOnlyList<GeoPoint3> GetVertices()
Returns
- IReadOnlyList<GeoPoint3>
The corners, a new list on each call.