java.lang.Objectjava.util.Observable
org.nlogo.agent.Agent
org.nlogo.agent.Link
org.nlogo.agent.Link3D
public class Link3D
| Field Summary |
|---|
| Fields inherited from class org.nlogo.agent.Link |
|---|
BIT, DEFAULT_COLOR, LAST_PREDEFINED_VAR, MODE_FIXED, MODE_FREE, MODE_NONE, NUMBER_PREDEFINED_VARS, VAR_BREED, VAR_COLOR, VAR_END1, VAR_END2, VAR_LABEL, VAR_SHAPE, VAR_THICKNESS, VAR_TIEMODE |
| Fields inherited from class org.nlogo.agent.Agent |
|---|
id, variables |
| Constructor Summary | |
|---|---|
Link3D(World world,
Turtle end1,
Turtle end2,
AgentSet breed)
|
|
| Method Summary | |
|---|---|
double |
pitch()
Returns the pitch towards end2 from end1 |
double |
z1()
Returns the z-coordinate of end1 |
double |
z2()
Returns the z-coordinate of end2 this coordinate is "unwrapped" so it may actually be outside the bounds of the world |
| Methods inherited from class org.nlogo.agent.Agent |
|---|
getVariableCount, id, variableConstraint, variableConstraint, world |
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.nlogo.api.Link |
|---|
color, end1, end2, getBreed, getBreedIndex, hasLabel, heading, hidden, isDirectedLink, labelColor, labelString, lineThickness, linkDestinationSize, midpointX, midpointY, x1, x2, y1, y2 |
| Methods inherited from interface org.nlogo.api.Agent |
|---|
classDisplayName, getVariable, id, setVariable, shape, size, world |
| Constructor Detail |
|---|
public Link3D(World world,
Turtle end1,
Turtle end2,
AgentSet breed)
| Method Detail |
|---|
public double z1()
Link3D
z1 in interface Link3Dpublic double z2()
Link3D
z2 in interface Link3Dpublic double pitch()
Link3D
pitch in interface Link3D