Computes an intersection angle in [radian].

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public double Angle(
	Line line
)
Visual Basic (Declaration)
Public Function Angle ( _
	line As Line _
) As Double
Visual C++
public:
double Angle(
	Line^ line
)

Parameters

line
Type: ceometric.VectorGeometry..::.Line
A line.

Return Value

Returns the intersection angle of the line and line in [radian].

Remarks

The intersection angle is the angle between the direction vectors of the two lines. If this is the acute or obtuse intersection angle depends on the orientation of the direction vectors.

Use the Angle(Vector3d, Vector3d) method to compute the angle between the direction vectors of two non-intersecting lines.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionThe lines do not intersect.

See Also