Enum CadSnapKind
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Which snap gave a point.
public enum CadSnapKind
Fields
None = 0No snap: the cursor itself.
Endpoint = 1An endpoint.
Midpoint = 2A midpoint.
Center = 3A centre.
Quadrant = 4A quadrant.
Intersection = 5An intersection.
Perpendicular = 6A perpendicular foot.
Tangent = 7A tangent point.
Nearest = 8The nearest point of an object.
Grid = 9A point of the snap grid.
Ortho = 10The cursor held level or upright from the base point (ORTHO).
Polar = 11The cursor held on a polar angle from the base point (POLAR).
Node = 12A POINT object (NODe).
GeometricCenter = 13The centroid of a closed polyline (GCEn).
Insertion = 14The insertion point of a block, a text or an attribute (INSertion).
Extension = 15A point on the run of a line or an arc beyond an acquired end (EXTension).
ApparentIntersection = 16Where two objects would cross if both ran on (APParent intersection).
Parallel = 17A point on the line through the base point parallel to an acquired line (PARallel).
Tracking = 18A point on a tracking line from an acquired point, or where two tracking lines cross (OTRACK).
ExtendedApparentIntersection = 19The 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 = 20A point a plugin's object snap gave; CustomSnap says which snap.