public class ElevationRise extends Object implements IEquatable<ElevationRise>
AzimuthElevationMask
.Constructor and Description |
---|
ElevationRise()
Initializes a new instance.
|
ElevationRise(double distance,
double elevation)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether another object is exactly equal to this instance.
|
boolean |
equalsType(ElevationRise other)
Indicates whether another instance of this type is exactly equal to this instance.
|
double |
getDistance()
Gets the linear distance at which the maximum obscured elevation angle rise occurs.
|
double |
getElevation()
Gets the new maximum obscured elevation angle.
|
int |
hashCode()
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
|
void |
setDistance(double value)
Sets the linear distance at which the maximum obscured elevation angle rise occurs.
|
void |
setElevation(double value)
Sets the new maximum obscured elevation angle.
|
public ElevationRise()
public ElevationRise(double distance, double elevation)
distance
- The distance, in meters, at which the maximum obscured elevation angle rise occurs.elevation
- The new maximum obscured elevation angle.public final double getDistance()
public final void setDistance(double value)
public final double getElevation()
public final void setElevation(double value)
public boolean equals(Object obj)
equals
in class Object
obj
- The object to compare to this instance.true
if obj
is an instance of this type and represents the same value as this instance; otherwise false
.Object.hashCode()
,
HashMap
public final boolean equalsType(ElevationRise other)
equalsType
in interface IEquatable<ElevationRise>
other
- The instance to compare to this instance.true
if other
represents the same value as this instance; otherwise false
.public int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)