LineSegment.direction constructor
LineSegment.direction(
- Mappoint start,
- Mappoint direction,
- double distance
Ctor with given start point, a point that defines the direction of the line and a length
@param start start point @param direction point that defines the direction (a line from start to direction point) @param distance how long to move along the line between start and direction
Implementation
LineSegment.direction(this.start, Mappoint direction, double distance) : end = LineSegment(start, direction).pointAlongLineSegment(distance);