us.ihmc.utilities.math.geometry
Interface Geometry2d

All Known Implementing Classes:
ConvexPolygon2d, Line2d, LineSegment2d

public interface Geometry2d

Title:

Description:

Copyright: Copyright (c) 2007

Company:

Version:
1.0
Author:
Twan Koolen

Method Summary
 void applyTransform(javax.media.j3d.Transform3D transform)
           
 void applyTransform(javax.media.j3d.Transform3D transform, boolean requireTransformInPlane)
           
 Geometry2d applyTransformCopy(javax.media.j3d.Transform3D transform)
           
 Geometry2d applyTransformCopy(javax.media.j3d.Transform3D transform, boolean requireTransformInPlane)
           
 double distance(ConvexPolygon2d convexPolygon)
           
 double distance(Line2d line)
           
 double distance(LineSegment2d lineSegment)
           
 double distance(javax.vecmath.Point2d point2d)
           
 java.lang.Object intersectionWith(ConvexPolygon2d convexPolygon)
           
 java.lang.Object intersectionWith(Line2d line)
           
 java.lang.Object intersectionWith(LineSegment2d lineSegment)
           
 void orthogonalProjection(javax.vecmath.Point2d tuple)
           
 javax.vecmath.Point2d orthogonalProjectionCopy(javax.vecmath.Point2d point)
           
 

Method Detail

orthogonalProjection

void orthogonalProjection(javax.vecmath.Point2d tuple)

orthogonalProjectionCopy

javax.vecmath.Point2d orthogonalProjectionCopy(javax.vecmath.Point2d point)

intersectionWith

java.lang.Object intersectionWith(Line2d line)

intersectionWith

java.lang.Object intersectionWith(LineSegment2d lineSegment)

intersectionWith

java.lang.Object intersectionWith(ConvexPolygon2d convexPolygon)

distance

double distance(javax.vecmath.Point2d point2d)

distance

double distance(Line2d line)

distance

double distance(LineSegment2d lineSegment)

distance

double distance(ConvexPolygon2d convexPolygon)

applyTransform

void applyTransform(javax.media.j3d.Transform3D transform)

applyTransform

void applyTransform(javax.media.j3d.Transform3D transform,
                    boolean requireTransformInPlane)

applyTransformCopy

Geometry2d applyTransformCopy(javax.media.j3d.Transform3D transform)

applyTransformCopy

Geometry2d applyTransformCopy(javax.media.j3d.Transform3D transform,
                              boolean requireTransformInPlane)