public final class NFDelta extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
angle1
The first angle of the delta.
|
int |
angle2
The second angle of the delta.
|
int |
angle3
The third angle of the delta.
|
short |
x
The x coordinate of the delta.
|
short |
y
The y coordinate of the delta.
|
| Constructor and Description |
|---|
NFDelta()
Initializes a new instance of the NFDelta class.
|
NFDelta(short x,
short y)
Initializes a new instance of the NFDelta class.
|
NFDelta(short x,
short y,
double angle1,
double angle2,
double angle3)
Initializes a new instance of the NFDelta class.
|
NFDelta(short x,
short y,
int angle1,
int angle2,
int angle3)
Initializes a new instance of the NFDelta class.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAngle1()
Gets the first angle of delta.
|
float |
getAngle1Deg() |
double |
getAngle2()
Gets the second angle of delta.
|
float |
getAngle2Deg() |
double |
getAngle3()
Gets the third angle of delta.
|
float |
getAngle3Deg() |
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
void |
setAngle1(double value)
Sets the first angle of delta.
|
void |
setAngle1Deg(float value) |
void |
setAngle2(double value)
Sets the second angle of delta.
|
void |
setAngle2Deg(float value) |
void |
setAngle3(double value)
Sets the third angle of delta.
|
void |
setAngle3Deg(float value) |
String |
toString() |
String |
toString(String format)
Gets the string representation of the current object.
|
public short x
public short y
public int angle1
public int angle2
public int angle3
public NFDelta()
public NFDelta(short x,
short y)
x - The x - coordinate of the core.y - The y - coordinate of the core.public NFDelta(short x,
short y,
double angle1,
double angle2,
double angle3)
x - The x - coordinate of the core.y - The y - coordinate of the core.angle1 - The first angle of the delta.angle2 - The second angle of the delta.angle3 - The third angle of the delta.public NFDelta(short x,
short y,
int angle1,
int angle2,
int angle3)
x - The x - coordinate of the core.y - The y - coordinate of the core.angle1 - The first angle of the delta.angle2 - The second angle of the delta.angle3 - The third angle of the delta.public static com.neurotec.lang.NType nativeTypeOf()
public float getAngle1Deg()
public void setAngle1Deg(float value)
public double getAngle1()
The angle of the delta is specified in 180/128 degrees units in counterclockwise order and cannot be less than zero or greater than 256 minus one. The value of -1 can be specified if the first angle of the delta is unknown.
public void setAngle1(double value)
angle - The first angle of delta.public float getAngle2Deg()
public void setAngle2Deg(float value)
public double getAngle2()
The angle of the delta is specified in 180/128 degrees units in counterclockwise order and cannot be less than zero or greater than 256 minus one. The value of -1 can be specified if the second angle of the delta is unknown.
public void setAngle2(double value)
angle - The second angle of delta.public float getAngle3Deg()
public void setAngle3Deg(float value)
public double getAngle3()
The angle of the delta is specified in 180/128 degrees units in counterclockwise order and cannot be less than zero or greater than 256 minus one. The value of -1 can be specified if the third angle of the delta is unknown.
public void setAngle3(double value)
angle - The third angle of delta.Copyright © 2016 Neurotechnology. All rights reserved.