| Package | Description | 
|---|---|
| org.apache.commons.math3.geometry.euclidean.twod | 
 This package provides basic 2D geometry components. | 
| Modifier and Type | Method and Description | 
|---|---|
| Line | Line. copySelf()Copy the instance. | 
| Line | Segment. getLine()Get the line containing the segment. | 
| Line | Line. getReverse()Get the reverse of the instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| double | Line. getOffset(Line line)Get the offset (oriented distance) of a parallel line. | 
| Vector2D | Line. intersection(Line other)Get the intersection point of the instance and another line. | 
| boolean | Line. isParallelTo(Line line)Check the instance is parallel to another line. | 
| Constructor and Description | 
|---|
| Line(Line line)Copy constructor. | 
| Segment(Vector2D start,
       Vector2D end,
       Line line)Build a segment. | 
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.