CADability dotNET
Sets the line as a basis for the calculation of the angle. The calculated angle is the angle of line from the startPoint to the mouseposition with the line from the startPoint to the endPoint.

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

Syntax

C#
public void SetAngleFromLine(
	GeoPoint startPoint,
	GeoPoint endPoint
)
Visual Basic
Public Sub SetAngleFromLine ( _
	startPoint As GeoPoint, _
	endPoint As GeoPoint _
)
Visual C++
public:
void SetAngleFromLine(
	GeoPoint startPoint, 
	GeoPoint endPoint
)

Parameters

startPoint
Type: CADability..::..GeoPoint
startpoint of the line
endPoint
Type: CADability..::..GeoPoint
endpoint of the line

See Also