public class SWCPoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
index |
private SWCPoint |
parent |
private int |
parentPointIndex |
private double |
radius |
private int |
type |
private double |
x |
private double |
y |
private double |
z |
Constructor and Description |
---|
SWCPoint(int index,
int type,
int parentPointIndex,
double x,
double y,
double z,
double radius) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getIndex() |
SWCPoint |
getParent() |
int |
getParentIndex() |
java.lang.Double |
getRadius() |
java.lang.Double |
getX() |
java.lang.Double |
getY() |
java.lang.Double |
getZ() |
boolean |
isSomaPoint() |
boolean |
samePoint(SWCPoint p) |
void |
setIndex(int i) |
void |
setParent(SWCPoint parent) |
void |
setPosition(double x,
double y,
double z) |
void |
setRadius(double radius) |
java.lang.String |
toString() |
private int index
private int type
private double x
private double y
private double z
private double radius
private int parentPointIndex
private SWCPoint parent
SWCPoint(int index, int type, int parentPointIndex, double x, double y, double z, double radius)
index
- type
- parentPointIndex
- x
- y
- z
- radius
- public void setParent(SWCPoint parent)
parent
- public boolean isSomaPoint()
public boolean samePoint(SWCPoint p)
public java.lang.String toString()
toString
in class java.lang.Object
public void setPosition(double x, double y, double z)
x
- y
- z
- public void setRadius(double radius)
radius
- public int getParentIndex()
public void setIndex(int i)
i
- public java.lang.Double getRadius()
public java.lang.Integer getIndex()
public java.lang.Double getX()
public java.lang.Double getY()
public java.lang.Double getZ()
public SWCPoint getParent()