unbbayes.util
Class GeometricUtil

java.lang.Object
  extended by unbbayes.util.GeometricUtil

public final class GeometricUtil
extends Object


Constructor Summary
GeometricUtil()
           
 
Method Summary
static Point2D.Double getCircunferenceTangentPoint(Point2D.Double point1, Point2D.Double point2, double r)
          This method is responsible for finding the tangent point in the circunference of the point2 in relation to the point1.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometricUtil

public GeometricUtil()
Method Detail

getCircunferenceTangentPoint

public static Point2D.Double getCircunferenceTangentPoint(Point2D.Double point1,
                                                          Point2D.Double point2,
                                                          double r)
This method is responsible for finding the tangent point in the circunference of the point2 in relation to the point1.

Parameters:
point1 - First circunference's center point (x,y).
point2 - Second circunference's center point (x,y).
r - Circunference's radius.
Returns:
The tangent point to the second circunference.


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.