us.ihmc.plotting
Class PlotterGraphics
java.lang.Object
us.ihmc.plotting.PlotterGraphics
public class PlotterGraphics
- extends java.lang.Object
Title:
Description:
Copyright: Copyright (c) 2008
Company:
- Version:
- 1.0
- Author:
- not attributable
Method Summary |
void |
drawLine(java.awt.Graphics graphics,
Line2d line2d)
|
void |
drawLineGivenStartAndVector(java.awt.Graphics graphics,
double x0,
double y0,
double vx,
double vy)
|
void |
drawLineSegment(java.awt.Graphics graphics,
double x1,
double y1,
double x2,
double y2)
|
void |
drawLineSegment(java.awt.Graphics graphics,
LineSegment2d lineSegment)
|
void |
drawLineSegment(java.awt.Graphics graphics,
javax.vecmath.Point2d[] endPoints)
|
void |
drawLineSegment(java.awt.Graphics graphics,
javax.vecmath.Point2d point1,
javax.vecmath.Point2d point2)
|
void |
drawPolygon(java.awt.Graphics graphics,
java.util.ArrayList<javax.vecmath.Point2d> polygonPoints)
|
void |
drawPolygon(java.awt.Graphics graphics,
ConvexPolygon2d polygon)
|
void |
drawPolygon(java.awt.Graphics graphics,
double[][] polygonPoints)
|
void |
drawPolygon(java.awt.Graphics graphics,
double[][] polygonPoints,
int nPoints)
|
void |
drawPolygon(java.awt.Graphics graphics,
javax.vecmath.Point2d[] polygonPoints)
|
void |
fillPolygon(java.awt.Graphics graphics,
java.util.ArrayList<javax.vecmath.Point2d> polygonPoints)
|
void |
fillPolygon(java.awt.Graphics graphics,
ConvexPolygon2d polygon)
|
void |
fillPolygon(java.awt.Graphics graphics,
double[][] polygonPoints)
|
void |
fillPolygon(java.awt.Graphics graphics,
double[][] polygonPoints,
int nPoints)
|
void |
fillPolygon(java.awt.Graphics graphics,
javax.vecmath.Point2d[] polygonPoints)
|
void |
setCenter(int xCenter,
int yCenter)
|
void |
setScale(double scale)
|
void |
setXCenter(int xCenter)
|
void |
setYCenter(int yCenter)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlotterGraphics
public PlotterGraphics()
setXCenter
public void setXCenter(int xCenter)
setYCenter
public void setYCenter(int yCenter)
setCenter
public void setCenter(int xCenter,
int yCenter)
setScale
public void setScale(double scale)
drawLineGivenStartAndVector
public void drawLineGivenStartAndVector(java.awt.Graphics graphics,
double x0,
double y0,
double vx,
double vy)
drawLine
public void drawLine(java.awt.Graphics graphics,
Line2d line2d)
drawLineSegment
public void drawLineSegment(java.awt.Graphics graphics,
LineSegment2d lineSegment)
drawLineSegment
public void drawLineSegment(java.awt.Graphics graphics,
javax.vecmath.Point2d[] endPoints)
drawLineSegment
public void drawLineSegment(java.awt.Graphics graphics,
javax.vecmath.Point2d point1,
javax.vecmath.Point2d point2)
drawLineSegment
public void drawLineSegment(java.awt.Graphics graphics,
double x1,
double y1,
double x2,
double y2)
drawPolygon
public void drawPolygon(java.awt.Graphics graphics,
double[][] polygonPoints,
int nPoints)
drawPolygon
public void drawPolygon(java.awt.Graphics graphics,
double[][] polygonPoints)
drawPolygon
public void drawPolygon(java.awt.Graphics graphics,
ConvexPolygon2d polygon)
drawPolygon
public void drawPolygon(java.awt.Graphics graphics,
java.util.ArrayList<javax.vecmath.Point2d> polygonPoints)
drawPolygon
public void drawPolygon(java.awt.Graphics graphics,
javax.vecmath.Point2d[] polygonPoints)
fillPolygon
public void fillPolygon(java.awt.Graphics graphics,
double[][] polygonPoints,
int nPoints)
fillPolygon
public void fillPolygon(java.awt.Graphics graphics,
double[][] polygonPoints)
fillPolygon
public void fillPolygon(java.awt.Graphics graphics,
ConvexPolygon2d polygon)
fillPolygon
public void fillPolygon(java.awt.Graphics graphics,
java.util.ArrayList<javax.vecmath.Point2d> polygonPoints)
fillPolygon
public void fillPolygon(java.awt.Graphics graphics,
javax.vecmath.Point2d[] polygonPoints)