CADability dotNET
Returns a GeoPoint in the model coordinate system that corresponds to the MouseEventArgs point. No snapping is performed. The drawing plane of the projection is used

Namespace: CADability.Actions
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public GeoPoint WorldPoint(
	MouseEventArgs e,
	IView vw
)
Visual Basic
Public Function WorldPoint ( _
	e As MouseEventArgs, _
	vw As IView _
) As GeoPoint
Visual C++
public:
GeoPoint WorldPoint(
	MouseEventArgs^ e, 
	IView^ vw
)

Parameters

e
Type: System.Windows.Forms..::..MouseEventArgs
a MouseEventArgs object, that contains the window coordinate
vw
Type: CADability..::..IView
the IView of the MouseEventArgs

Return Value

the model coordinate

See Also