2D Line Segment
Specifies a linear combination of two points
Parametric representation:
P = P1 + t (P2 - P1), (0 ? t ? 1)
typedef struct {
Point P1;
Point P2;
} Segment;
P1
P2
Previous slide
Next slide
Back to first slide
View graphic version