public class MapRange
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
swigCMemOwn |
构造器和说明 |
---|
MapRange()
Constructs a MapRange object.
|
MapRange(float min,
float max)
Constructs a MapRange object from min and max values.
|
MapRange(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
static long |
getCPtr(MapRange obj) |
float |
getMax()
Returns the max value of this map range.
|
float |
getMin()
Returns the min value of this map range.
|
int |
hashCode()
Returns the hash value of this object.
|
boolean |
inRange(float value)
Tests if a value is in this map range.
|
float |
length()
Calculates the length of this map range.
|
java.lang.String |
toString()
Creates a string representation of this map range, useful for logging.
|
public MapRange(long cPtr, boolean cMemoryOwn)
public MapRange()
public MapRange(float min, float max)
min
- The min value.max
- The max value.public static long getCPtr(MapRange obj)
protected void finalize()
finalize
在类中 java.lang.Object
public void delete()
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
obj
- The reference object.public int hashCode()
hashCode
在类中 java.lang.Object
public float getMin()
public float getMax()
public boolean inRange(float value)
value
- The value to be tested.public float length()
public java.lang.String toString()
toString
在类中 java.lang.Object