uk.ac.leeds.ccg.andyt.vector.geometrics
Class Vector_Angles

java.lang.Object
  extended by uk.ac.leeds.ccg.andyt.vector.geometrics.Vector_Angles

public class Vector_Angles
extends java.lang.Object


Constructor Summary
Vector_Angles()
           
 
Method Summary
static double[] getAnglesToYAxisClockwise_doubleArray(Vector_Point2D[] a_LineRing)
           
static double getInsideAngleClockwise_doubleArray(Vector_Point2D a_Point2D, Vector_Point2D b_Point2D, Vector_Point2D c_Point2D)
           
static double[] getInsideAnglesClockwise_doubleArray(Vector_Point2D[] a_LineRing)
          Returns the Clockwise inside angles for a_LineRing
static double getRadToDeg_double(double angleInRadians)
           
static void main(java.lang.String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vector_Angles

public Vector_Angles()
Method Detail

main

public static void main(java.lang.String[] args)

run

public void run()

getAnglesToYAxisClockwise_doubleArray

public static double[] getAnglesToYAxisClockwise_doubleArray(Vector_Point2D[] a_LineRing)

getInsideAnglesClockwise_doubleArray

public static double[] getInsideAnglesClockwise_doubleArray(Vector_Point2D[] a_LineRing)
Returns the Clockwise inside angles for a_LineRing

Parameters:
a_LineRing -
Returns:

getInsideAngleClockwise_doubleArray

public static double getInsideAngleClockwise_doubleArray(Vector_Point2D a_Point2D,
                                                         Vector_Point2D b_Point2D,
                                                         Vector_Point2D c_Point2D)
Parameters:
a_Point2D -
b_Point2D -
c_Point2D -
Returns:
The inside Angle at b_Point for a Linear Ring assuming the ring is clockwise and the Linear Ring Sequence is a_Point, b_Point, c_Point.

getRadToDeg_double

public static double getRadToDeg_double(double angleInRadians)