LineSegment2D

Class


The LineSegment2D class can represent a line segment in 2-dimensional space.

 

Functions

Variables
(constructor) Construct Vertex.
length  

Variables

Variables
ux  
uy  
vx  
vy  
P1 Point of one end.
P2 Point of another end.

Operators

None

© The University of Hong Kong Algorithms Library - hkual@cs.hku.hk