@Immutable public class VertCoordValue extends java.lang.Object implements java.lang.Comparable<VertCoordValue>
Constructor and Description |
---|
VertCoordValue(double value1) |
VertCoordValue(double value1,
double value2) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(VertCoordValue o) |
boolean |
equals(java.lang.Object o) |
double |
getMid() |
double |
getValue1() |
double |
getValue2() |
int |
hashCode() |
boolean |
isLayer() |
boolean |
nearlyEquals(VertCoordValue other) |
java.lang.String |
toString() |
java.lang.String |
toString(boolean isLayer) |
public VertCoordValue(double value1)
public VertCoordValue(double value1, double value2)
public double getValue1()
public double getValue2()
public double getMid()
public boolean isLayer()
public int compareTo(@Nonnull VertCoordValue o)
compareTo
in interface java.lang.Comparable<VertCoordValue>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean nearlyEquals(VertCoordValue other)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean isLayer)