public abstract class LineConvexSubset3D extends LineSubset3D
Lines3D
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Vector3D pt)
Return true if the given point lies in the line subset.
|
abstract Vector3D |
getEndPoint()
Get the end point for the line subset.
|
Interval |
getInterval()
Get the 1D interval for the line subset.
|
abstract double |
getSize()
Get the size (length) of the line subset.
|
abstract Vector3D |
getStartPoint()
Get the start point for the line subset.
|
abstract double |
getSubspaceEnd()
Get the 1D end location of the line subset or
Double.POSITIVE_INFINITY if
no end location exists. |
Interval |
getSubspaceRegion()
Get the subspace region for the instance.
|
abstract double |
getSubspaceStart()
Get the 1D start location of the line subset or
Double.NEGATIVE_INFINITY if
no start location exists. |
abstract boolean |
isFinite()
Return true if the line subset is finite.
|
abstract boolean |
isInfinite()
Return true if the line subset is infinite.
|
abstract LineConvexSubset3D |
transform(Transform<Vector3D> transform)
Transform this instance.
|
getBounds, getCentroid, getLine, toSpace, toSubspace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toSpace, toSubspace
public abstract boolean isInfinite()
public abstract boolean isFinite()
public abstract Vector3D getStartPoint()
public abstract double getSubspaceStart()
Double.NEGATIVE_INFINITY
if
no start location exists.Double.NEGATIVE_INFINITY
if
no start location exists.public abstract Vector3D getEndPoint()
public abstract double getSubspaceEnd()
Double.POSITIVE_INFINITY
if
no end location exists.Double.POSITIVE_INFINITY
if
no end location existspublic abstract double getSize()
public Interval getSubspaceRegion()
getSubspaceRegion
in interface RegionEmbedding<Vector3D,Vector1D>
getSubspaceRegion
in class LineSubset3D
public Interval getInterval()
getSubspaceRegion()
.public boolean contains(Vector3D pt)
pt
- point to checkpublic abstract LineConvexSubset3D transform(Transform<Vector3D> transform)
transform
- the transform to applyCopyright © 2016–2020 The Apache Software Foundation. All rights reserved.