DXFReaderNETControlCurrentWCSpointNoSnap Property
|
Gets the raw cursor position in World Coordinate System (WCS) coordinates without object snap or orthogonal constraints applied.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntaxpublic Vector2 CurrentWCSpointNoSnap { get; }Public ReadOnly Property CurrentWCSpointNoSnap As Vector2
Get
public:
property Vector2 CurrentWCSpointNoSnap {
Vector2 get ();
}member CurrentWCSpointNoSnap : Vector2 with get
PROPERTY CurrentWCSpointNoSnap AS Vector2 GET
Property Value
Type:
Vector2
A
Vector2 representing the cursor's actual position in drawing units,
reflecting only the mouse cursor location without any snapping behavior.
Remarks
This property provides the unmodified cursor position converted from screen coordinates to world coordinates,
useful for:
- Displaying actual cursor coordinates independent of snap settings
- Implementing custom snap logic or override behavior
- Calculating distances or angles from the true cursor location
- Debugging or diagnostic displays
Unlike
CurrentWCSpoint, this value is not affected by:
- Object snap (OSNAP) settings defined in
ObjectOsnapMode
- Grid snap behavior
- Orthogonal mode (ORTHO) constraints
- Polar tracking
The value updates continuously as the mouse moves and accounts for current zoom level,
pan offset, and coordinate transformations, but reflects the raw cursor position only.
See also:
-
CurrentWCSpoint for snap-modified cursor position
-
ObjectSnap for enabling/disabling snap behavior
-
CoordsToWorld(Int32, Int32) for manual coordinate conversion
See Also