public class Polypoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CLOSED |
java.lang.String |
closure |
static int |
FILLED |
static int |
OPEN |
private int |
p_closure |
static java.lang.String[] |
p_closureNames |
double[] |
xpts |
double[] |
ypts |
Constructor and Description |
---|
Polypoint() |
Polypoint(double[] xp,
double[] yp) |
Polypoint(double[] xp,
double[] yp,
int icl) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
exportAsString() |
int |
getClosure() |
Polypoint |
getCopy() |
double[] |
getXPts() |
double[] |
getYPts() |
boolean |
isClosed() |
boolean |
isFilled() |
boolean |
isOpen() |
void |
rotate(Direction dir) |
void |
setClosure(int pc) |
void |
setXpts(double[] d) |
void |
setYpts(double[] d) |
void |
translate(Position pos) |
public double[] xpts
public double[] ypts
public static final int OPEN
public static final int CLOSED
public static final int FILLED
public java.lang.String closure
private int p_closure
public static final java.lang.String[] p_closureNames
public Polypoint()
public Polypoint(double[] xp, double[] yp)
public Polypoint(double[] xp, double[] yp, int icl)
public java.lang.String exportAsString()
public int getClosure()
public void setClosure(int pc)
public boolean isFilled()
public boolean isOpen()
public boolean isClosed()
public void setXpts(double[] d)
public void setYpts(double[] d)
public double[] getXPts()
public double[] getYPts()
public Polypoint getCopy()
public void translate(Position pos)
public void rotate(Direction dir)
Copyright © 2013. All Rights Reserved.