| Package | Description | 
|---|---|
| org.hipparchus.geometry.euclidean.threed | 
 This package provides basic 3D geometry components. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Line | Line. fromDirection(Vector3D point,
             Vector3D direction,
             double tolerance)Create a line from a point and a direction. | 
| Line | Segment. getLine()Get the line containing the segment. | 
| Line | Plane. intersection(Plane other)Build the line shared by the instance and another plane. | 
| Line | Line. revert()Get a line with reversed direction. | 
| Modifier and Type | Method and Description | 
|---|---|
| Vector3D | Line. closestPoint(Line line)Compute the point of the instance closest to another line. | 
| double | Line. distance(Line line)Compute the shortest distance between the instance and another line. | 
| SubHyperplane<Euclidean3D> | PolyhedronsSet. firstIntersection(Vector3D point,
                 Line line)Get the first sub-hyperplane crossed by a semi-infinite line. | 
| Vector3D | Plane. intersection(Line line)Get the intersection of a line with the instance. | 
| Vector3D | Line. intersection(Line line)Get the intersection point of the instance and another line. | 
| boolean | Line. isSimilarTo(Line line)Check if the instance is similar to another line. | 
| Constructor and Description | 
|---|
| Line(Line line)Copy constructor. | 
| Segment(Vector3D start,
       Vector3D end,
       Line line)Build a segment. | 
| SubLine(Line line,
       IntervalsSet remainingRegion)Simple constructor. | 
Copyright © 2016–2020 Hipparchus.org. All rights reserved.