com.dopanic.panicsensorkit
Class PSKVector3Double

java.lang.Object
  extended by com.dopanic.panicsensorkit.PSKVector3Double

public class PSKVector3Double
extends java.lang.Object


Field Summary
 double x
           
 double y
           
 double z
           
 
Constructor Summary
PSKVector3Double()
           
PSKVector3Double(double x, double y, double z)
           
PSKVector3Double(PSKVector3Double other)
           
 
Method Summary
 double angle()
           
 double angleTowards(PSKVector3Double vector)
           
 double elevation()
           
 double magnitude()
           
static double magnitude(double x, double y, double z)
           
 PSKVector3Double normalize()
           
 void normalize(double _x, double _y, double _z)
           
 void normalize(double _x, double _y, double _z, double _m)
           
static PSKVector3Double One()
           
 double sqrMagnitude()
           
 void toOne()
           
 java.lang.String toString()
           
 void toZero()
           
static PSKVector3Double Zero()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public double x

y

public double y

z

public double z
Constructor Detail

PSKVector3Double

public PSKVector3Double()

PSKVector3Double

public PSKVector3Double(PSKVector3Double other)

PSKVector3Double

public PSKVector3Double(double x,
                        double y,
                        double z)
Method Detail

Zero

public static PSKVector3Double Zero()

One

public static PSKVector3Double One()

toOne

public void toOne()

toZero

public void toZero()

magnitude

public double magnitude()

sqrMagnitude

public double sqrMagnitude()

magnitude

public static double magnitude(double x,
                               double y,
                               double z)

normalize

public PSKVector3Double normalize()

normalize

public void normalize(double _x,
                      double _y,
                      double _z)

normalize

public void normalize(double _x,
                      double _y,
                      double _z,
                      double _m)

angleTowards

public double angleTowards(PSKVector3Double vector)

angle

public double angle()

elevation

public double elevation()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object



Copyright © 2014 doPanic GmbH. All rights reserved.