public class VectorHelper extends SWEHelper
Helper class to create SWE structures used in vector math
newEncodedValuesProperty
Modifier and Type | Field and Description |
---|---|
static String |
DEF_COEF |
static String |
DEF_LOCATION |
static String |
DEF_ORIENTATION_EULER |
static String |
DEF_ORIENTATION_QUAT |
static String |
DEF_ROT_MATRIX |
static String |
DEF_ROW |
static String |
DEF_UNIT_VECTOR |
PATH_SEPARATOR
Constructor and Description |
---|
VectorHelper() |
Modifier and Type | Method and Description |
---|---|
Vector |
newEulerAngles()
Creates a 3D euler angles vector with unspecified order of rotations about X/Y/Z axes.
This is only used when order and axes of rotations are specified separately. |
Vector |
newLocationVectorXYZ(String def,
String refFrame,
String uomCode)
Creates a 3D location vector in an ortho-normal frame with X/Y/Z axes
|
Matrix |
newMatrix(int nRows,
int nCols)
Creates a matrix (i.e.
|
Matrix |
newMatrix(String def,
String refFrame,
int nRows,
int nCols)
Creates a matrix (i.e.
|
Vector |
newUnitVectorXYZ(String def,
String refFrame)
Creates a 3D unit vector in an ortho-normal frame with X/Y/Z axes
|
protected Vector |
newVector3() |
Vector |
newVector3(String def,
String refFrame)
Creates a 3D vector with atrbitrary axes called u1, u2, u3
|
assignBinaryEncoding, createDataParser, createDataWriter, ensureXmlCompatible, findComponent, findComponentByDefinition, findComponentByName, findComponentByPath, findComponentByPath, getDefaultBinaryEncoding, getDefaultEncoding, getEpsgUri, getPropertyUri, getTimeStampIndexer, newArray, newBinaryEncoding, newBoolean, newCategory, newCount, newCount, newDataStream, newLinkProperty, newLinkProperty, newLinkProperty, newQuantity, newQuantity, newRgbImage, newSystemIdComponent, newText, newTextEncoding, newTimeStamp, newTimeStampIsoGPS, newTimeStampIsoUTC, newTimeStampOnBoardClock, newVector, wrapWithTimeStamp, wrapWithTimeStampUTC
newAllowedTimes, newAllowedTokens, newAllowedValues, newBinaryBlock, newBinaryComponent, newBinaryEncoding, newBoolean, newCategory, newCategoryRange, newCount, newCount, newCountRange, newCountRange, newDataArray, newDataArray, newDataChoice, newDataRecord, newDataRecord, newDataStream, newEncodedValuesProperty, newMatrix, newMatrix, newNilValue, newNilValues, newQuantity, newQuantity, newQuantityRange, newQuantityRange, newText, newTextEncoding, newTime, newTime, newTimeRange, newTimeRange, newUnitReference, newVector, newXMLEncoding
public static final String DEF_UNIT_VECTOR
public static final String DEF_ROW
public static final String DEF_COEF
public static final String DEF_ROT_MATRIX
public static final String DEF_LOCATION
public static final String DEF_ORIENTATION_EULER
public static final String DEF_ORIENTATION_QUAT
protected Vector newVector3()
public Vector newVector3(String def, String refFrame)
def
- semantic definition of velocity vector (must be set)refFrame
- reference frame within which the vector is expressedpublic Vector newUnitVectorXYZ(String def, String refFrame)
def
- semantic definition of velocity vector (if null, DEF_UNIT_VECTOR
is used)refFrame
- reference frame within which the vector is expressedpublic Vector newLocationVectorXYZ(String def, String refFrame, String uomCode)
def
- semantic definition of velocity vector (if null, DEF_LOCATION
is used)refFrame
- reference frame within which the vector is expresseduomCode
- unit of distance to use on all 3 axespublic Vector newEulerAngles()
public Matrix newMatrix(int nRows, int nCols)
nRows
- number of rowsnCols
- number of columnspublic Matrix newMatrix(String def, String refFrame, int nRows, int nCols)
def
- semantic definition of matrix (e.g. rotation matrix, stress matrix, etc.)refFrame
- reference frame within which the matrix is expressed, if applicable, null otherwisenRows
- number of rowsnCols
- number of columnsCopyright © 2016 Sensia Software LLC. All rights reserved.