public class SegmentGraphPoint extends PickablePoint
Modifier and Type | Field and Description |
---|---|
java.lang.String |
label |
int[] |
nbrIndexes |
(package private) SegmentGraphPoint |
p_extensionProto |
(package private) boolean |
p_highlight |
(package private) int |
p_index |
(package private) boolean |
p_mark |
(package private) SegmentGraphPoint[] |
p_nbrCache |
(package private) java.util.ArrayList<SegmentGraphPoint> |
p_neighbors |
(package private) SegmentGraphPoint |
p_pN1 |
(package private) SegmentGraphPoint |
p_pN2 |
(package private) SegmentGraphPoint[] |
p_protoNbrs |
(package private) int |
p_status |
(package private) static int |
PROTO |
double |
radius |
(package private) static int |
REAL |
double |
x |
double |
y |
Constructor and Description |
---|
SegmentGraphPoint() |
SegmentGraphPoint(double x,
double y) |
SegmentGraphPoint(double x,
double y,
int stat) |
getCache, getColor, getPosition, getRange, getRef, getSize, moveTo, moveTo, setCache, setColor, setColor, setPosition, setPosition, setRange, setSize
int p_status
static final int PROTO
static final int REAL
public double x
public double y
public double radius
public java.lang.String label
java.util.ArrayList<SegmentGraphPoint> p_neighbors
SegmentGraphPoint[] p_nbrCache
public int[] nbrIndexes
SegmentGraphPoint[] p_protoNbrs
SegmentGraphPoint p_extensionProto
SegmentGraphPoint p_pN1
SegmentGraphPoint p_pN2
int p_index
boolean p_highlight
boolean p_mark
public SegmentGraphPoint()
public SegmentGraphPoint(double x, double y)
public SegmentGraphPoint(double x, double y, int stat)
public double getX()
public double getY()
public void deReference()
public void reReference(java.util.ArrayList<SegmentGraphPoint> apa)
public AttachmentPoint makeAttachmentPoint()
public SegmentGraphPoint[] getNeighbors()
public void setLabel(java.lang.String s)
public void highlightLabel(java.lang.String s)
public boolean isReal()
public void unHighlight()
public void highlight()
public boolean isHighlighted()
public void unMark()
public void mark()
public boolean isMarked()
public void setIndex(int ind)
public int getIndex()
public void setRadius(double r)
public double getRadius()
public double getR()
public double getZ()
public SegmentGraphPoint[] getProtoNeighbors()
public void recHighlight()
public boolean recHighlightPath()
public void move(Position pos)
public void updateProtos()
public void realize()
public void connectTo(SegmentGraphPoint sgp)
public SegmentGraphPoint getExtensionProto()
public void removeExtensionProto()
public void syncExtensionProto()
public void setProtoNeighbors(SegmentGraphPoint sgp1, SegmentGraphPoint sgp2)
public void updateProtoPosition()
private void addNeighbor(SegmentGraphPoint sgp)
private void removeNeighbor(SegmentGraphPoint sgp)
Copyright © 2013. All Rights Reserved.