The importance of this operation is:

- More practical to produce points of the line than the implicit equation.
- Works in any dimension.
- It is more usefull to have programs that solves problems where the solution is a point on a line produce the parameter giving the point then the actual coordinates: The parameter tells if the point is on the line segment defining the line (0<=t<=1), on the ray starting at first point and traveling away from second point (t<0) or on other ray if t>1. Use this program if want coordinates after parameter inspection.

3D case: [t, Y, Z, T | L]-> XEQ E ->[[x, y, z], Y, Z, T | t]Where t is the parameter and (x, y, z) is the evaluated point if a 3D line has been entered using the L program and (x, y) is the evaluated point if a 2D line has been entered using the L program.

2D case: [t, Y, Z, T | L]-> XEQ E ->[[x, y], Y, Z, T | t]

Variables:

Reads:

A: First point defining the line, populated by the L program.Program:

B: Second point defining the line, populated by the L program.

E001 LBL EComments:

E002 ABS

E003 RDN

E004 eq (1-LASTX)xA+LASTXxB

E005 RTN

Terms of use.

Mnemonic: E for evaluate.

## No comments:

Post a Comment