Table of Contents

Class DxfWipeout

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

A WIPEOUT of a DXF file, as AutoCAD's Wipeout: a mask that hides what is drawn under it in the colour of the background, an image of one pixel with no picture, clipped by the polygon it hides. Under the words of a tag of a Tekla or AutoCAD drawing it is moved, copied and mirrored with them.

public sealed class DxfWipeout : DxfRasterImage
Inheritance
DxfWipeout
Inherited Members

Remarks

Its record is that of an IMAGE, its only marker AcDbWipeout as AutoCAD 2021 writes it: the corner of its frame, the vectors of the frame's sides as those of its one pixel (11 and 12), and its boundary in -0.5 to 0.5 of the frame, x along it and y down; it shows no IMAGEDEF (340 of 0). A frame of side 40 placed at (-30, -10) holding the boundary (-0.5, 0.5), (0.5, 0.5), (0.5, -0.25), (-0.5, -0.25) hides the rectangle from (-30, -10) to (10, 20).

What a DxfRasterImage has of a picture it has not: its brightness, contrast and fade and its display options are refused, as AutoCAD 2021 refuses or ignores them, and ImageDef, Name and Path are null. TransformBy(GeoTransform3) takes any transformation; GetTransformedCopy(GeoTransform3) refuses one that scales more one way than another or shears, as AutoCAD 2021 answers eCannotScaleNonUniformly.

Constructors

DxfWipeout()

Initializes a wipeout made in code, as AutoCAD's new Wipeout(): of no polygon yet, to be given one by SetFrom(IReadOnlyList<GeoPoint2>, GeoVector3) before it is appended, as AutoCAD 2021 writes a wipeout never set as one of no boundary and then cannot open the drawing. Its groups are those AutoCAD 2021 writes: a frame of one pixel, shown and clipped (70 of 7, 280 of 1), no IMAGEDEF (340 of 0). Appended, it lists the variables of wipeouts (ACAD_WIPEOUT_VARS) in a drawing that has none.

Methods

SetFrom(IReadOnlyList<GeoPoint2>, GeoVector3)

Hides a polygon anew, as AutoCAD 2021's SetFrom: its corners in the plane of a normal, in the system of that normal (the arbitrary axis algorithm, the world's xy for (0, 0, 1)), the first again at the end. As AutoCAD 2021 writes it, the frame is the square on the box of the corners and the origin of the plane, its side the box's longer: the rectangle (-30, -10) to (10, 20) has the frame of side 40 at (-30, -10, 0), the rectangle (200, 100) to (230, 110) the frame of side 230 at the origin. The corners are written in the frame as a polygon, the record said to be clipped (280 of 1).