Package arc.math.geom
Class Segment
java.lang.Object
arc.math.geom.Segment
A Segment is a line in 3-space having a staring and an ending position.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
a
the starting position -
b
the ending position
-
-
Constructor Details
-
Segment
Constructs a new Segment from the two points given.- Parameters:
a
- the first pointb
- the second point
-
Segment
public Segment(float aX, float aY, float aZ, float bX, float bY, float bZ) Constructs a new Segment from the two points given.- Parameters:
aX
- the x-coordinate of the first pointaY
- the y-coordinate of the first pointaZ
- the z-coordinate of the first pointbX
- the x-coordinate of the second pointbY
- the y-coordinate of the second pointbZ
- the z-coordinate of the second point
-
-
Method Details