|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectus.ihmc.utilities.math.geometry.Geometry2dCalculator
public class Geometry2dCalculator
Title:
Description:
Copyright: Copyright (c) 2007
Company:
| Constructor Summary | |
|---|---|
Geometry2dCalculator()
|
|
| Method Summary | |
|---|---|
static double |
distance(ConvexPolygon2d firstConvexPolygon,
ConvexPolygon2d secondConvexPolygon)
|
static double |
distance(Line2d line,
ConvexPolygon2d convexPolygon)
|
static double |
distance(Line2d firstLine,
Line2d secondLine)
|
static double |
distance(Line2d line,
LineSegment2d lineSegment)
|
static double |
distance(LineSegment2d lineSegment,
ConvexPolygon2d convexPolygon)
|
static double |
distance(LineSegment2d firstLineSegment,
LineSegment2d secondLineSegment)
|
static double |
distance(javax.vecmath.Point2d point,
ConvexPolygon2d convexPolygon)
|
static double |
distance(javax.vecmath.Point2d point,
Line2d line)
|
static double |
distance(javax.vecmath.Point2d point,
LineSegment2d lineSegment)
|
static double |
distanceSquared(javax.vecmath.Point2d point,
Line2d line)
|
static double[] |
intersection(double firstPointX,
double firstPointY,
double firstVectorX,
double firstVectorY,
double secondPointX,
double secondPointY,
double secondVectorX,
double secondVectorY)
Finds the intersection parameters between two lines. |
static javax.vecmath.Point2d[] |
intersection(Line2d line,
ConvexPolygon2d convexPolygon)
|
static javax.vecmath.Point2d |
intersection(Line2d firstLine,
Line2d secondLine)
|
static javax.vecmath.Point2d |
intersection(Line2d line2d,
LineSegment2d lineSegment)
|
static javax.vecmath.Point2d[] |
intersection(LineSegment2d lineSegment,
ConvexPolygon2d convexPolygon)
|
static javax.vecmath.Point2d |
intersection(LineSegment2d firstLineSegment2d,
LineSegment2d secondLineSegment2d)
|
static void |
orthogonalProjection(javax.vecmath.Point2d point2d,
ConvexPolygon2d convexPolygon)
|
static void |
orthogonalProjection(javax.vecmath.Point2d point2d,
Line2d line2d)
|
static void |
orthogonalProjection(javax.vecmath.Point2d point2d,
LineSegment2d lineSegment)
|
static javax.vecmath.Point2d |
orthogonalProjectionCopy(javax.vecmath.Point2d point,
ConvexPolygon2d convexPolygon)
|
static javax.vecmath.Point2d |
orthogonalProjectionCopy(javax.vecmath.Point2d point,
Line2d line)
|
static javax.vecmath.Point2d |
orthogonalProjectionCopy(javax.vecmath.Point2d point,
LineSegment2d lineSegment)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Geometry2dCalculator()
| Method Detail |
|---|
public static double[] intersection(double firstPointX,
double firstPointY,
double firstVectorX,
double firstVectorY,
double secondPointX,
double secondPointY,
double secondVectorX,
double secondVectorY)
firstPointX - double First line starting x.firstPointY - double First line starting y.firstVectorX - double First line direction x.firstVectorY - double First line direction y.secondPointX - double Second line starting x.secondPointY - double Second line starting y.secondVectorX - double Second line direction x.secondVectorY - double Second line direction y.
public static javax.vecmath.Point2d intersection(Line2d firstLine,
Line2d secondLine)
public static javax.vecmath.Point2d intersection(Line2d line2d,
LineSegment2d lineSegment)
public static javax.vecmath.Point2d intersection(LineSegment2d firstLineSegment2d,
LineSegment2d secondLineSegment2d)
public static javax.vecmath.Point2d[] intersection(Line2d line,
ConvexPolygon2d convexPolygon)
public static javax.vecmath.Point2d[] intersection(LineSegment2d lineSegment,
ConvexPolygon2d convexPolygon)
public static void orthogonalProjection(javax.vecmath.Point2d point2d,
Line2d line2d)
public static void orthogonalProjection(javax.vecmath.Point2d point2d,
ConvexPolygon2d convexPolygon)
public static void orthogonalProjection(javax.vecmath.Point2d point2d,
LineSegment2d lineSegment)
public static javax.vecmath.Point2d orthogonalProjectionCopy(javax.vecmath.Point2d point,
LineSegment2d lineSegment)
public static javax.vecmath.Point2d orthogonalProjectionCopy(javax.vecmath.Point2d point,
Line2d line)
public static javax.vecmath.Point2d orthogonalProjectionCopy(javax.vecmath.Point2d point,
ConvexPolygon2d convexPolygon)
public static double distance(javax.vecmath.Point2d point,
Line2d line)
public static double distanceSquared(javax.vecmath.Point2d point,
Line2d line)
public static double distance(javax.vecmath.Point2d point,
LineSegment2d lineSegment)
public static double distance(javax.vecmath.Point2d point,
ConvexPolygon2d convexPolygon)
public static double distance(Line2d firstLine,
Line2d secondLine)
public static double distance(Line2d line,
LineSegment2d lineSegment)
public static double distance(Line2d line,
ConvexPolygon2d convexPolygon)
public static double distance(LineSegment2d firstLineSegment,
LineSegment2d secondLineSegment)
public static double distance(LineSegment2d lineSegment,
ConvexPolygon2d convexPolygon)
public static double distance(ConvexPolygon2d firstConvexPolygon,
ConvexPolygon2d secondConvexPolygon)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||