Uses of Class
org.apache.commons.geometry.euclidean.twod.Segment
Packages that use Segment
Package
Description
This package provides basic 2D geometry components.
-
Uses of Segment in org.apache.commons.geometry.euclidean.twod
Methods in org.apache.commons.geometry.euclidean.twod that return SegmentModifier and TypeMethodDescriptionSegment.reverse()
Reverse the orientation of the hyperplane for this instance, returning the result as a new instance.Line.segment
(double a, double b) Create a new line segment from the given 1D interval.Create a new line segment from two points.static Segment
Lines.segmentFromLocations
(Line line, double a, double b) Construct a new line segment from a pair of 1D locations on a line.static Segment
Lines.segmentFromPoints
(Line line, Vector2D a, Vector2D b) Construct a new line segment from a line and a pair of points.static Segment
Lines.segmentFromPoints
(Vector2D startPoint, Vector2D endPoint, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Construct a new line segment from two points.Return a new hyperplane subset resulting from the application of the given transform.