Class LinePath.SimplifiedLinePath

java.lang.Object
org.apache.commons.geometry.euclidean.twod.path.LinePath
org.apache.commons.geometry.euclidean.twod.path.LinePath.SimplifiedLinePath
All Implemented Interfaces:
BoundarySource<LineConvexSubset>, Sized, BoundarySource2D, Linecastable2D
Enclosing class:
LinePath

private static final class LinePath.SimplifiedLinePath extends LinePath
Internal class returned when a line path is simplified to remove unnecessary line subset divisions. The simplify() method on this class simply returns the same instance.
  • Constructor Details

    • SimplifiedLinePath

      private SimplifiedLinePath(List<LineConvexSubset> elements)
      Create a new instance containing the given line subsets. No validation is performed on the inputs. Caller must ensure that the given line subsets represent a valid, simplified path.
      Parameters:
      elements - line subsets comprising the path
  • Method Details