public class Axes extends GamsJNI
| Constructor and Description |
|---|
Axes()
Default constructor
|
Axes(Axes input)
Copy constructor
|
Axes(double inx,
double iny,
double inz)
Constructor for a provided x,y,z coordinate
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Axes other)
Checks two instances for equality
|
protected void |
finalize()
Cleans up underlying C resources
|
void |
free()
Deletes the C instantiation.
|
static Axes |
fromPointer(long cptr)
Creates a java object instance from a C/C++ pointer
|
static Axes |
fromPointer(long cptr,
boolean shouldManage)
Creates a java object instance from a C/C++ pointer
|
double |
getX()
Returns the latitude
|
double |
getY()
Returns the longitude
|
double |
getZ()
Returns the altitude
|
int |
hashCode()
Gets a unique hashcode for this instance
|
void |
setX(double input)
Sets the latitude/x coord
|
void |
setY(double input)
Sets the longitude/y coord
|
void |
setZ(double input)
Sets the altitude/z coord
|
String |
toString()
Converts the Axes into a string
|
public Axes()
public Axes(double inx,
double iny,
double inz)
inx - the x coordinateiny - the y coordinateinz - the z coordinatepublic Axes(Axes input)
input - the Axes to copypublic boolean equals(Axes other)
other - other Axes to check againstpublic int hashCode()
public String toString()
public double getX()
public double getY()
public double getZ()
public void setX(double input)
input - the new coordpublic void setY(double input)
input - the new coordpublic void setZ(double input)
input - the new coordpublic static Axes fromPointer(long cptr)
cptr - C pointer to the objectpublic static Axes fromPointer(long cptr, boolean shouldManage)
cptr - C pointer to the objectshouldManage - if true, manage the pointerpublic void free()
Copyright © 2018. All rights reserved.