public final class EllipseSegModel extends FlatShapeModel
| Modifier and Type | Method and Description |
|---|---|
static EllipseSegModel |
create(double xRadius,
double yRadius,
double height) |
static java.util.Optional<EllipseSegModel> |
createOptional(double xRadius,
double yRadius,
double height) |
boolean |
equals(java.lang.Object o) |
double |
getHeight() |
Vec<Two> |
getLeft() |
Vec<Two> |
getRight() |
Vec<Two> |
getTop() |
double |
getXRadius() |
double |
getYRadius() |
int |
hashCode() |
protected boolean |
isPointOnModel(Vec<Two> point) |
boolean |
resembles(java.lang.Object o) |
java.lang.String |
toString() |
getAreapublic static EllipseSegModel create(double xRadius, double yRadius, double height)
public static java.util.Optional<EllipseSegModel> createOptional(double xRadius, double yRadius, double height)
protected boolean isPointOnModel(Vec<Two> point)
isPointOnModel in class FlatShapeModelpublic 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 GeometrixObjectpublic double getXRadius()
public double getYRadius()
public double getHeight()