Table of Contents

Class CadSnapResult

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

The point a snap gave, which snap gave it and, for an object snap, the object.

public sealed class CadSnapResult
Inheritance
CadSnapResult
Inherited Members

Properties

CustomSnap

Gets the plugin's object snap that gave the point, for Custom; null for every other kind.

Handle

Gets the handle of the object snapped to, or null for a grid, ortho, polar or no snap; for a snap on a layout through a viewport, the object of model space the viewport shows, Point being where the viewport shows the point.

Kind

Gets which snap gave the point; None for the cursor itself.

Point

Gets the point, in drawing units.

Tracks

Gets the dotted paths drawn to the point, each a chain of points in drawing units that ends at the point: from the acquired end along an extension, from the base point along a parallel, from each acquired point along its tracking line; none for any other snap. The extension of an arc runs round its circle in steps of 5 degrees at most.

Methods

ToString()