public class Ellipse<D extends TwoMin & ThreeMax,A extends Alignment<D>> extends FlatShape<EllipseModel,D,A>
| Constructor and Description |
|---|
Ellipse(EllipseModel model,
A alignment,
Vec<D> center,
Vec<D> xAxis,
Vec<D> yAxis) |
| Modifier and Type | Method and Description |
|---|---|
static <D extends TwoMin & ThreeMax,A extends Alignment<D>> |
create(EllipseModel model,
A alignment) |
static <D extends TwoMin & ThreeMax,A extends Alignment<D>> |
createOptional(EllipseModel model,
A alignment) |
boolean |
equals(java.lang.Object o) |
Vec<D> |
getBottomPoint() |
Vec<D> |
getCenter() |
Vec<D> |
getLeftPoint() |
Vec<D> |
getRightPoint() |
Vec<D> |
getTopPoint() |
Vec<D> |
getXAxis() |
Vec<D> |
getYAxis() |
int |
hashCode() |
boolean |
resembles(java.lang.Object o) |
java.lang.String |
toString() |
getAlignment, getDimension, getModel, isPointOnModelpublic static <D extends TwoMin & ThreeMax,A extends Alignment<D>> Ellipse<D,A> create(EllipseModel model, A alignment)
public static <D extends TwoMin & ThreeMax,A extends Alignment<D>> java.util.Optional<Ellipse<D,A>> createOptional(EllipseModel model, A alignment)
public boolean resembles(java.lang.Object o)
resembles in class GeometrixObjectpublic boolean equals(java.lang.Object o)
equals in class GeometrixObjectpublic int hashCode()
hashCode in class GeometrixObjectpublic java.lang.String toString()
toString in class GeometrixObject