public abstract class LineSubset extends Object implements HyperplaneSubset<Vector2D>, RegionEmbedding<Vector2D,Vector1D>
| Modifier and Type | Method and Description |
|---|---|
RegionLocation |
classify(Vector2D pt) |
abstract Bounds2D |
getBounds()
Get a
Bounds2D object defining an axis-aligned bounding box containing all
vertices for this subset. |
Line |
getHyperplane() |
Line |
getLine()
Get the line containing this subset.
|
Precision.DoubleEquivalence |
getPrecision()
Return the object used to perform floating point comparisons, which is the
same object used by the underlying
Line). |
abstract HyperplaneBoundedRegion<Vector1D> |
getSubspaceRegion() |
Vector2D |
intersection(Line inputLine)
Get the unique intersection of this subset with the given line.
|
Vector2D |
intersection(LineSubset subset)
Get the unique intersection of this instance with the given line subset.
|
abstract List<LineConvexSubset> |
toConvex() |
Vector2D |
toSpace(Vector1D pt) |
Vector1D |
toSubspace(Vector2D pt) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosest, contains, getCentroid, isEmpty, isFull, transformsplitgetSize, isFinite, isInfinitetoSpace, toSubspacepublic Line getLine()
getHyperplane().getHyperplane()public Line getHyperplane()
getHyperplane in interface HyperplaneSubset<Vector2D>public Vector1D toSubspace(Vector2D pt)
toSubspace in interface Embedding<Vector2D,Vector1D>public abstract Bounds2D getBounds()
Bounds2D object defining an axis-aligned bounding box containing all
vertices for this subset. Null is returned if the subset is infinite or does not
contain any vertices.public abstract HyperplaneBoundedRegion<Vector1D> getSubspaceRegion()
getSubspaceRegion in interface RegionEmbedding<Vector2D,Vector1D>public abstract List<LineConvexSubset> toConvex()
toConvex in interface HyperplaneSubset<Vector2D>public RegionLocation classify(Vector2D pt)
classify in interface HyperplaneSubset<Vector2D>public Vector2D intersection(Line inputLine)
inputLine - line to intersect with this line subsetLine.intersection(Line)public Vector2D intersection(LineSubset subset)
subset - line subset to intersect withLine.intersection(Line)public Precision.DoubleEquivalence getPrecision()
Line).Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.