Table of Contents

Enum CadSnapKind

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Which snap gave a point.

public enum CadSnapKind

Fields

None = 0

No snap: the cursor itself.

Endpoint = 1

An endpoint.

Midpoint = 2

A midpoint.

Center = 3

A centre.

Quadrant = 4

A quadrant.

Intersection = 5

An intersection.

Perpendicular = 6

A perpendicular foot.

Tangent = 7

A tangent point.

Nearest = 8

The nearest point of an object.

Grid = 9

A point of the snap grid.

Ortho = 10

The cursor held level or upright from the base point (ORTHO).

Polar = 11

The cursor held on a polar angle from the base point (POLAR).

Node = 12

A POINT object (NODe).

GeometricCenter = 13

The centroid of a closed polyline (GCEn).

Insertion = 14

The insertion point of a block, a text or an attribute (INSertion).

Extension = 15

A point on the run of a line or an arc beyond an acquired end (EXTension).

ApparentIntersection = 16

Where two objects would cross if both ran on (APParent intersection).

Parallel = 17

A point on the line through the base point parallel to an acquired line (PARallel).

Tracking = 18

A point on a tracking line from an acquired point, or where two tracking lines cross (OTRACK).

ExtendedApparentIntersection = 19

The object under the cursor offered as the first of an apparent intersection: a click picks it, as AutoCAD's Extended Apparent Intersection does, and takes no point (TakeFirstObject(CadSnapResult)).

Custom = 20

A point a plugin's object snap gave; CustomSnap says which snap.