import { Vec2D } from './Vec2D'; declare class Segment { start: Vec2D; stop: Vec2D; /** * A line segment. * * @param start Coordinates of the starting point * @param stop Coordinates of the stopping point * @return New Segment object */ constructor(start: Vec2D, stop: Vec2D); /** * Create a copy of the current segment. * * @return New Segment object */ copy(): Segment; /** * Test if the current segment is parallel with another. * * @param segment The other segment to test * @return Are the segments parallel? */ isParallel(segment: Segment): boolean; } export { Segment };