CADability dotNET
Returns a beam corresponding to the 2-dimensional mouse position. The mouse position corresponds to a beam in the model which is seen as a point from the viewpoint. The result is in world coordinates of the model. Works for both parallel and perspective projection.

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

Syntax

C#
public Axis PointBeam(
	Point p
)
Visual Basic
Public Function PointBeam ( _
	p As Point _
) As Axis
Visual C++
public:
Axis PointBeam(
	Point p
)

Parameters

p
Type: System.Drawing..::..Point
Point to which the corresponding beam is required

Return Value

The corresponding beam

See Also