com.dopanic.panicsensorkit
Class PSKVector3

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

public class PSKVector3
extends java.lang.Object


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

Field Detail

x

public float x

y

public float y

z

public float z
Constructor Detail

PSKVector3

public PSKVector3()

PSKVector3

public PSKVector3(PSKVector3 other)

PSKVector3

public PSKVector3(float x,
                  float y,
                  float z)

PSKVector3

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

Zero

public static PSKVector3 Zero()

One

public static PSKVector3 One()

toOne

public void toOne()

toZero

public void toZero()

magnitude

public float magnitude()

sqrMagnitude

public float sqrMagnitude()

magnitude

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

normalize

public PSKVector3 normalize()

normalize

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

normalize

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

angleTowards

public float angleTowards(PSKVector3 vector)

angle

public float angle()

elevation

public float elevation()

toString

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

toApiParam

public java.lang.String toApiParam()



Copyright © 2014 doPanic GmbH. All rights reserved.