public class ConvexHull.Rectangle
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
javax.vecmath.Point2d |
cornerA |
javax.vecmath.Point2d |
cornerB |
javax.vecmath.Point2d |
cornerC |
javax.vecmath.Point2d |
cornerD |
javax.vecmath.Point2d |
pointX |
javax.vecmath.Point2d |
pointY |
javax.vecmath.Point2d |
pointZ |
Constructor and Description |
---|
Rectangle(javax.vecmath.Point2d pointOnAB,
javax.vecmath.Point2d cornerC,
javax.vecmath.Point2d cornerD,
double distToCD) |
Modifier and Type | Method and Description |
---|---|
double |
area() |
double |
getHeight() |
javax.vecmath.Vector2d |
getMajorAxis() |
double |
getWidth() |
java.lang.String |
toString() |
public javax.vecmath.Point2d pointX
public javax.vecmath.Point2d pointY
public javax.vecmath.Point2d pointZ
public javax.vecmath.Point2d cornerA
public javax.vecmath.Point2d cornerB
public javax.vecmath.Point2d cornerC
public javax.vecmath.Point2d cornerD