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 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 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
getSize, isFinite, isInfinite
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 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–2021 The Apache Software Foundation. All rights reserved.