Line/X,Y,X,Y
Line from Explicit Coordinates
Creates a line from explicit start and end coordinate pairs. The simplest line operator — no selector needed.
What It Does
The Line/X,Y,X,Y operator creates a line defined by explicit start and end coordinate pairs. It is the most direct line operator — all four coordinates are specified explicitly, leaving no ambiguity.
Product Tier: Lines are persistent product entities. They are tracked by the dependency system and can be used as input to subsequent operators.
Syntax
Line/X1, Y1, X2, Y2
Quick Input
X1: [start X coordinate]
Y1: [start Y coordinate]
X2: [end X coordinate]
Y2: [end Y coordinate]
Direction Selector
No direction selector is required. The result is uniquely determined by the input geometry.
Worked Examples
Example 1:
Line/10, 20, 70, 60
→ L0: from (10,20) to (70,60), slope=2/3
Example 2 — horizontal:
Line/0, 0, 50, 0
→ L0: horizontal from (0,0) to (50,0)
Example 3 — vertical:
Line/30, 10, 30, 80
→ L0: vertical at X=30, from Y=10 to Y=80
Analytic Rule
Slope = (Y2-Y1)/(X2-X1)
Line equation: y - Y1 = slope * (x - X1)
Start and end points stored exactly as specified.
No computation required — coordinates are taken directly.
Result: Exact. No ambiguity possible.
FAQ
What is the difference between Line/X,Y,X,Y and Line/P,P?
Line/X,Y,X,Y uses explicit coordinate values. Line/P,P uses existing point references. Both create identical geometry — choose based on whether you have named points or raw coordinates.
Can I create a zero-length line?
No. If start and end coordinates are identical, XyzPilot returns an error — a zero-length line is geometrically undefined.