Uses of Class
org.starhope.appius.geometry.Coord2D

Packages that use Coord2D
org.starhope.appius.game.actions   
org.starhope.appius.geometry   
org.starhope.appius.physica   
org.starhope.appius.user   
 

Uses of Coord2D in org.starhope.appius.game.actions
 

Methods in org.starhope.appius.game.actions with parameters of type Coord2D
protected static void OperatorControlClick.opClick(AbstractUser operator, Room room, Coord2D target, String clickedOn)
          WRITEME: Document this method brpocock@star-hope.org
 

Uses of Coord2D in org.starhope.appius.geometry
 

Fields in org.starhope.appius.geometry declared as Coord2D
protected  Coord2D Circle.center
          WRITEME: Document this brpocock@star-hope.org
protected  Coord2D Rectangle.origin
          WRITEME: Document this brpocock@star-hope.org
(package private)  Coord2D LineSeg2D.point1
          Point 1
(package private)  Coord2D LineSeg2D.point2
          Point 2
protected  Coord2D[] Polygon.points
          WRITEME: Document this brpocock@star-hope.org
 

Methods in org.starhope.appius.geometry that return Coord2D
 Coord2D Circle.getCenter()
           
 Coord2D Polygon.getCenter()
           
 Coord2D Rectangle.getCenter()
           
 Coord2D PolygonPrimitive.getCenter()
           
private  Coord2D Circle.getIntPoint(Coord2D point1, Coord2D point2, double u)
          WRITEME: Document this method brpocock@star-hope.org
 Coord2D Rectangle.getOrigin()
           
 Coord2D LineSeg2D.getPoint1()
           
 Coord2D LineSeg2D.getPoint2()
           
 Coord2D[] Polygon.getPoints()
           
 Coord2D[] Circle.intersection(LineSeg2D lsSeg2d)
           
 Coord2D[] Polygon.intersection(LineSeg2D lSeg2d)
          Gets all the intersection points between two polygons
 Coord2D[] Rectangle.intersection(LineSeg2D lSeg2d)
           
 Coord2D[] PolygonPrimitive.intersection(LineSeg2D lsSeg2d)
          Finds the intersection points for the polygon with the line segment
 Coord2D LineSeg2D.intersectionPoint(LineSeg2D lSeg2d)
          Gets the intersection point of two line segments
protected  Coord2D Coord2D.newInstance(double x0, double y0)
          Creates a new instance of the coordinate pair for use by the abstract generic parent class to get around downcasting problems
static Coord2D Coord2D.parseCoord2D(String string)
          understands (x,y) or x,y forms
 Coord2D Coord3D.toCoord2D()
          Converts the 3D coordinate to a 2D coordinate.
 Coord2D Coord2D.translate(double dX, double dY)
          Moves the point by the given delta x and y
 

Methods in org.starhope.appius.geometry that return types with arguments of type Coord2D
static List<Coord2D> Coord2D.parseCoord2D(String[] parts)
           
 

Methods in org.starhope.appius.geometry with parameters of type Coord2D
 boolean Circle.contains(Coord2D coord2d)
           
 boolean Polygon.contains(Coord2D coord2d)
          Tests to see if we are inside of the polygon.
 boolean Rectangle.contains(Coord2D coord2d)
           
 boolean PolygonPrimitive.contains(Coord2D coord2d)
          Determines if the polygon contains that point
 double Coord2D.distance(Coord2D coord2d)
          Gets the distance from this coordinate to the given one
private  double Circle.getA(Coord2D point1, Coord2D point2)
          WRITEME: Document this method brpocock@star-hope.org
private  double Circle.getB(Coord2D point1, Coord2D point2, Coord2D cntr)
          WRITEME: Document this method brpocock@star-hope.org
private  double Circle.getC(Coord2D point1, Coord2D cntr, double radius0)
          WRITEME: Document this method brpocock@star-hope.org
private  Coord2D Circle.getIntPoint(Coord2D point1, Coord2D point2, double u)
          WRITEME: Document this method brpocock@star-hope.org
 Circle Circle.translate(Coord2D coord2d)
          WRITEME: Document this method brpocock@star-hope.org
 Polygon Polygon.translate(Coord2D coord2d)
           
 Rectangle Rectangle.translate(Coord2D coord2d)
           
 T PolygonPrimitive.translate(Coord2D coord2d)
          WRITEME: Document this method brpocock@star-hope.org
 

Constructors in org.starhope.appius.geometry with parameters of type Coord2D
Circle(Coord2D center0, double radius0)
          Constructs a basic circle
Coord2D(Coord2D c)
          Creates a coordinate pair from an existing coordinate pair
LineSeg2D(Coord2D p1, Coord2D p2)
          Constructor
Polygon(Coord2D... newPoints)
          Constructs a closed polygon using the given set of points as line segments
Polygon(Coord2D[] newPoints, LineSeg2D[] newSegments, Circle newBoundingCircle)
          Private constructor used during internal changes to avoid the overhead of recalcuating bounding stuff ASSUMES you know what you're doing!
Rectangle(Coord2D oneCorner, Coord2D otherCorner)
          WRITEME brpocock@star-hope.org
Rectangle(Coord2D ul, double w, double h)
          Creates a rectangle
Triangle(Coord2D[] newPoints)
          Create a planar triangle with the given vertices
 

Constructor parameters in org.starhope.appius.geometry with type arguments of type Coord2D
Polygon(List<Coord2D> newPoints)
          WRITEME: Document this constructor brpocock@star-hope.org
 

Uses of Coord2D in org.starhope.appius.physica
 

Fields in org.starhope.appius.physica declared as Coord2D
private  Coord2D CollisionObject.centerofMass
          Object's center of mass
 

Methods in org.starhope.appius.physica that return Coord2D
 Coord2D Collidable.getCenterOfMass()
          Gets the object's current center of mass in world coordinates
 Coord2D CollisionObject.getCenterOfMass()
           
static Coord2D Geometry.getRandomPointWithin(Polygon space)
           
 

Methods in org.starhope.appius.physica with parameters of type Coord2D
 void Collidable.setCenterOfMass(Coord2D com)
          Sets the object's new center of mass in world space coordinates (i.e.
 void CollisionObject.setCenterOfMass(Coord2D com)
          Sets the center of mass
 

Uses of Coord2D in org.starhope.appius.user
 

Methods in org.starhope.appius.user that return Coord2D
 Coord2D GeneralUser.getCenterOfMass()
           
 

Methods in org.starhope.appius.user with parameters of type Coord2D
 void GeneralUser.setCenterOfMass(Coord2D com)