public abstract class LineConvexSubset extends LineSubset implements HyperplaneConvexSubset<Vector2D>
Lines| Modifier and Type | Method and Description |
|---|---|
Vector2D |
closest(Vector2D pt) |
abstract Vector2D |
getEndPoint()
Get the end point for the subset.
|
Interval |
getInterval()
Get the 1D interval for the region.
|
abstract Vector2D |
getStartPoint()
Get the start point for the subset.
|
abstract double |
getSubspaceEnd()
Get the 1D end location of the subset or
Double.POSITIVE_INFINITY if
no end location exists. |
Interval |
getSubspaceRegion() |
abstract double |
getSubspaceStart()
Get the 1D start location of the subset or
Double.NEGATIVE_INFINITY if
no start location exists. |
boolean |
isEmpty() |
abstract LineConvexSubset |
reverse() |
Split<LineConvexSubset> |
split(Hyperplane<Vector2D> splitter) |
List<LineConvexSubset> |
toConvex() |
abstract LineConvexSubset |
transform(Transform<Vector2D> transform) |
classify, getBounds, getHyperplane, getLine, getPrecision, intersection, intersection, toSpace, toSubspaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclassify, contains, getCentroid, getHyperplane, isFullgetSize, isFinite, isInfinitetoSpace, toSubspacepublic List<LineConvexSubset> toConvex()
toConvex in interface HyperplaneSubset<Vector2D>toConvex in class LineSubsetpublic boolean isEmpty()
This method always returns false.
isEmpty in interface HyperplaneSubset<Vector2D>public abstract Vector2D getStartPoint()
public abstract double getSubspaceStart()
Double.NEGATIVE_INFINITY if
no start location exists.Double.NEGATIVE_INFINITY if
no start location exists.public abstract Vector2D getEndPoint()
public abstract double getSubspaceEnd()
Double.POSITIVE_INFINITY if
no end location exists.Double.POSITIVE_INFINITY if
no end location existspublic Interval getSubspaceRegion()
getSubspaceRegion in interface RegionEmbedding<Vector2D,Vector1D>getSubspaceRegion in class LineSubsetpublic Interval getInterval()
getSubspaceRegion().public Split<LineConvexSubset> split(Hyperplane<Vector2D> splitter)
split in interface HyperplaneConvexSubset<Vector2D>split in interface Splittable<Vector2D,HyperplaneSubset<Vector2D>>public Vector2D closest(Vector2D pt)
closest in interface HyperplaneSubset<Vector2D>public abstract LineConvexSubset transform(Transform<Vector2D> transform)
transform in interface HyperplaneConvexSubset<Vector2D>transform in interface HyperplaneSubset<Vector2D>public abstract LineConvexSubset reverse()
reverse in interface HyperplaneConvexSubset<Vector2D>Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.