public class ConvexHull
extends java.lang.Object
implements java.lang.Iterable<javax.vecmath.Point2d>
Modifier and Type | Class and Description |
---|---|
class |
ConvexHull.Rectangle
A rectangle that may not be axis-aligned
|
Constructor and Description |
---|
ConvexHull(org.openscience.cdk.interfaces.IAtomContainer atomContainer) |
ConvexHull(javax.vecmath.Point2d[] points) |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Rectangle2D |
getAxisAlignedMinimumBoundingRectangle() |
javax.vecmath.Point2d |
getCenter() |
javax.vecmath.Vector2d |
getMajorAxis() |
ConvexHull.Rectangle |
getMinimumAreaBoundingRectangle() |
ConvexHull.Rectangle |
getMinimumAreaBoundingRectangleBruteForce() |
java.util.Iterator<javax.vecmath.Point2d> |
iterator() |
java.lang.String |
toString(javax.vecmath.Point2d... points) |
public ConvexHull(org.openscience.cdk.interfaces.IAtomContainer atomContainer)
atomContainer
- public ConvexHull(javax.vecmath.Point2d[] points)
points
- public javax.vecmath.Vector2d getMajorAxis()
public javax.vecmath.Point2d getCenter()
public ConvexHull.Rectangle getMinimumAreaBoundingRectangleBruteForce()
public ConvexHull.Rectangle getMinimumAreaBoundingRectangle()
public java.lang.String toString(javax.vecmath.Point2d... points)
points
- public java.awt.geom.Rectangle2D getAxisAlignedMinimumBoundingRectangle()
public java.util.Iterator<javax.vecmath.Point2d> iterator()
iterator
in interface java.lang.Iterable<javax.vecmath.Point2d>