Angle Between Two Lines    

Calculates the angle between two lines.

 

Input Arguments

 

0

Collection Object Name

Line 1

The first line.

1

Collection Object Name

Line 2

The second line.

2

Double

Nominal Angle

A nominal angle (only used to determine if the tolerance is satisfied, if used).

3

Double

Angle Tolerance (0.0 for none)

The allowable symmetrical tolerance for the angle,

plus or minus from the nominal angle.

 

Return Arguments

 

4

Double

Angle

The actual angle between the two lines.

 

Returned Status

 

SUCCESS

The angle was calculated successfully, and the tolerance (if specified) was not exceeded.

FAILURE

One or both lines were not found, or the calculated angle exceeded the tolerance (if specified).

 

Remarks

To use a tolerance, specify a number other than zero for argument 3. To ignore the tolerance, leave argument 3 at 0.0.