0-255, 0 = invisible, 255 = opaque
0-255, 0 = invisible, 255 = opaque
Returns a displayable name of this type of agent (Turtle, Link, Patch, Observer)
Returns a displayable name of this type of agent (Turtle, Link, Patch, Observer)
Returns the value of the color
variable, a Double or LogoList.
Returns the value of the color
variable, a Double or LogoList.
Returns the first end point of this link.
Returns the first end point of this link. If the link is directed this is the source turtle if the link is undirected it is the turtle with the lower who number.
Returns the second end point of this link.
Returns the second end point of this link. If the link is directed this is the destination turtle if the link is undirected it is the turtle with the higher who number.
Returns the breed AgentSet associated with this link.
Returns the breed AgentSet associated with this link. Iif the link is unbreeded returns the all links AgentSet.
Returns the index of the breed of this link.
Returns the index of the breed of this link.
Returns the value of the variable in the given position of the agent variable array
Returns the value of the variable in the given position of the agent variable array
the index into the agent variable array
Returns true if there is a value in the label
variable.
Returns true if there is a value in the label
variable.
Returns the heading towards end2 from end1.
Returns the heading towards end2 from end1.
Returns the value of the hidden?
variable.
Returns the value of the hidden?
variable.
Returns the id number of this agent.
Returns the id number of this agent. The who number in the case of a turtle, index into the array in the case of patches
Returns true if this link is directed.
Returns true if this link is directed.
Returns the value of the label-color
variable.
Returns the value of the label-color
variable.
Returns the value of the label
variable.
Returns the value of the label
variable.
Returns the value of the thinkness
variable.
Returns the value of the thinkness
variable.
Returns the size of end2.
Returns the size of end2.
Returns the x-coordinate of the midpoint of this link taking wrapping in account.
Returns the x-coordinate of the midpoint of this link taking wrapping in account.
Returns the y-coordinate of the midpoint of this link taking wrapping in account.
Returns the y-coordinate of the midpoint of this link taking wrapping in account.
Returns the pitch towards end2 from end1
Sets the variable in the position vn of the agent variable array to value
Sets the variable in the position vn of the agent variable array to value
the index into the agent variable array
the new value for the variable
If value is the wrong type for the given variable or if you try to change variables that cannot be changed
Returns the name of the current shape, empty string in the case of patches.
Returns the name of the current shape, empty string in the case of patches.
Returns the size of this agent
Returns the size of this agent
Returns raw array of all agent variables.
Returns raw array of all agent variables. Warning: this method is liable to change return type in a future API version.
Returns the world object associated with this agent
Returns the world object associated with this agent
Returns the x-coordinate of end1.
Returns the x-coordinate of end1.
Returns the x-coordinate of end2.
Returns the x-coordinate of end2. This coordinate is "unwrapped" so it may actually be outside the bounds of the world.
Returns the y-coordinate of end1.
Returns the y-coordinate of end1.
Returns the y-coordinate of end2.
Returns the y-coordinate of end2. This coordinate is "unwrapped" so it may actually be outside the bounds of the world.
Returns the z-coordinate of end1
Returns the z-coordinate of end2 this coordinate is "unwrapped" so it may actually be outside the bounds of the world