public class HomogeneousVector extends org.apache.commons.math3.linear.ArrayRealVector
Constructor and Description |
---|
HomogeneousVector(double[] c)
Creates a new homogeneous vector from Cartesian
coordinates.
|
HomogeneousVector(org.apache.commons.math3.linear.RealVector c)
Creates a new homogeneous vector from Cartesian
coordinates.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.math3.linear.RealVector |
Cartesian(HomogeneousVector h) |
static HomogeneousVector |
Homogen(org.apache.commons.math3.linear.RealVector c) |
org.apache.commons.math3.linear.RealVector |
toCartesian()
Converts this homogeneous vector back to
Cartesian coordinates.
|
add, addToEntry, append, append, append, checkVectorDimensions, checkVectorDimensions, combine, combineToSelf, copy, dotProduct, ebeDivide, ebeMultiply, equals, getDataRef, getDimension, getDistance, getEntry, getL1Distance, getL1Norm, getLInfDistance, getLInfNorm, getNorm, getSubVector, hashCode, isInfinite, isNaN, map, mapAddToSelf, mapDivideToSelf, mapMultiplyToSelf, mapSubtractToSelf, mapToSelf, outerProduct, set, setEntry, setSubVector, setSubVector, subtract, toArray, toString, walkInDefaultOrder, walkInDefaultOrder, walkInDefaultOrder, walkInDefaultOrder, walkInOptimizedOrder, walkInOptimizedOrder, walkInOptimizedOrder, walkInOptimizedOrder
public HomogeneousVector(double[] c)
c
- Cartesian coordinates.public HomogeneousVector(org.apache.commons.math3.linear.RealVector c)
c
- Cartesian coordinates.public static HomogeneousVector Homogen(org.apache.commons.math3.linear.RealVector c)
public static org.apache.commons.math3.linear.RealVector Cartesian(HomogeneousVector h)
public org.apache.commons.math3.linear.RealVector toCartesian()
Copyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)