public class CoordAxisUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static short[] |
NED |
static double[][] |
VALID_AXIS_ANGLES
Comment for
VALID_AXIS_ANGLES |
static short[][] |
VALID_AXIS_DIRECTIONS
Comment for
VALID_AXIS_DIRECTIONS |
Constructor and Description |
---|
CoordAxisUtil() |
Modifier and Type | Method and Description |
---|---|
static double[] |
getAxisAngles(short xAxisDirection,
short yAxisDirection,
short zAxisDirection) |
static short[] |
getAxisDirections(double roll,
double pitch,
double yaw)
Note: Despit the combination can give a known direction(
VALID_AXIS_DIRECTIONS ), the return will only base itself
on the VALID_AXIS_ANGLES and VALID_AXIS_DIRECTIONS
combination. |
static java.lang.String |
getDirectionAsString(short dir) |
static short |
parseDirection(java.lang.String dir) |
public static final short[] NED
public static final short[][] VALID_AXIS_DIRECTIONS
VALID_AXIS_DIRECTIONS
public static final double[][] VALID_AXIS_ANGLES
VALID_AXIS_ANGLES
public static double[] getAxisAngles(short xAxisDirection, short yAxisDirection, short zAxisDirection)
xAxisDirection
- yAxisDirection
- zAxisDirection
- public static short[] getAxisDirections(double roll, double pitch, double yaw)
VALID_AXIS_DIRECTIONS
), the return will only base itself
on the VALID_AXIS_ANGLES
and VALID_AXIS_DIRECTIONS
combination.roll
- pitch
- yaw
- CoordinateSystem.UNKNOWN_DIRECTION
if unknown directions.public static short parseDirection(java.lang.String dir)
dir
- public static java.lang.String getDirectionAsString(short dir)
dir
- CoordinateSystem
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.