org.wamblee.gps.geometry
Class Plane

java.lang.Object
  extended by org.wamblee.gps.geometry.Plane

public class Plane
extends java.lang.Object

Represents a plane. Usually used to represent a tangent plane to the earth surface to locally approximate the earth as flat.

Author:
Erik Brakkee

Constructor Summary
Plane(Point aPoint, Point aNormal)
          Constructs a plane.
 
Method Summary
 org.wamblee.general.Pair<java.lang.Double,java.lang.Double> normalizedProjection(Point aPoint)
          Returns normalized coordinates within the plane of the projection of a point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plane

public Plane(Point aPoint,
             Point aNormal)
Constructs a plane.

Parameters:
aPoint - Point on the plane.
aNormal - Normal, not necessarily normalized.
Method Detail

normalizedProjection

public org.wamblee.general.Pair<java.lang.Double,java.lang.Double> normalizedProjection(Point aPoint)
Returns normalized coordinates within the plane of the projection of a point.



Copyright © 2010. All Rights Reserved.