Link3D

org.nlogo.api.Link3D
trait Link3D extends Link

Attributes

Source
Link3D.scala
Graph
Supertypes
trait Link
trait Agent
class Object
trait Matchable
class Any
Known subtypes
class Link3D
trait LinkStamp3D
class LinkStamp3D

Members list

Value members

Abstract methods

def pitch: Double

Returns the pitch towards end2 from end1

Returns the pitch towards end2 from end1

Attributes

Source
Link3D.scala
def z1: Double

Returns the z-coordinate of end1

Returns the z-coordinate of end1

Attributes

Source
Link3D.scala
def z2: Double

Returns the z-coordinate of end2 this coordinate is "unwrapped" so it may actually be outside the bounds of the world

Returns the z-coordinate of end2 this coordinate is "unwrapped" so it may actually be outside the bounds of the world

Attributes

Source
Link3D.scala

Inherited and Abstract methods

def alpha: Int

0-255, 0 = invisible, 255 = opaque

0-255, 0 = invisible, 255 = opaque

Attributes

Inherited from:
Agent
Source
Agent.scala

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)

Attributes

Inherited from:
Agent
Source
Agent.scala
def color: AnyRef

Returns the value of the color variable, a Double or LogoList.

Returns the value of the color variable, a Double or LogoList.

Attributes

Inherited from:
Link
Source
Link.scala
def end1: Turtle

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 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.

Attributes

Inherited from:
Link
Source
Link.scala
def end2: Turtle

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 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.

Attributes

Inherited from:
Link
Source
Link.scala

Returns the breed AgentSet associated with this link. Iif the link is unbreeded returns the all links AgentSet.

Returns the breed AgentSet associated with this link. Iif the link is unbreeded returns the all links AgentSet.

Attributes

Inherited from:
Link
Source
Link.scala

Returns the index of the breed of this link.

Returns the index of the breed of this link.

Attributes

Inherited from:
Link
Source
Link.scala
def getVariable(vn: Int): AnyRef

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

Value parameters

vn

the index into the agent variable array

Attributes

Inherited from:
Agent
Source
Agent.scala

Returns true if there is a value in the label variable.

Returns true if there is a value in the label variable.

Attributes

Inherited from:
Link
Source
Link.scala

Returns the heading towards end2 from end1.

Returns the heading towards end2 from end1.

Attributes

Inherited from:
Link
Source
Link.scala

Returns the value of the hidden? variable.

Returns the value of the hidden? variable.

Attributes

Inherited from:
Link
Source
Link.scala
def id: Long

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 the id number of this agent. The who number in the case of a turtle, index into the array in the case of patches

Attributes

Inherited from:
Agent
Source
Agent.scala

Returns the kind of this agent (Turtle, Link, Patch, Observer).

Returns the kind of this agent (Turtle, Link, Patch, Observer).

Attributes

Inherited from:
Agent
Source
Agent.scala
def labelColor: AnyRef

Returns the value of the label-color variable.

Returns the value of the label-color variable.

Attributes

Inherited from:
Link
Source
Link.scala

Returns the value of the label variable.

Returns the value of the label variable.

Attributes

Inherited from:
Link
Source
Link.scala

Returns the value of the thinkness variable.

Returns the value of the thinkness variable.

Attributes

Inherited from:
Link
Source
Link.scala

Returns the size of end2.

Returns the size of end2.

Attributes

Inherited from:
Link
Source
Link.scala

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.

Attributes

Inherited from:
Link
Source
Link.scala

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.

Attributes

Inherited from:
Link
Source
Link.scala
def setVariable(vn: Int, value: AnyRef): Unit

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

Value parameters

value

the new value for the variable

vn

the index into the agent variable array

Attributes

Throws
api.AgentException

If value is the wrong type for the given variable or if you try to change variables that cannot be changed

Inherited from:
Agent
Source
Agent.scala
def shape: String

Returns the name of the current shape

Returns the name of the current shape

Attributes

Inherited from:
Link
Source
Link.scala
def size: Double

Returns the size of this agent

Returns the size of this agent

Attributes

Inherited from:
Agent
Source
Agent.scala
def variables: Array[AnyRef]

Returns raw array of all agent variables. Warning: this method is liable to change return type in a future API version.

Returns raw array of all agent variables. Warning: this method is liable to change return type in a future API version.

Attributes

Inherited from:
Agent
Source
Agent.scala
def world: World

Returns the world object associated with this agent

Returns the world object associated with this agent

Attributes

Inherited from:
Agent
Source
Agent.scala
def x1: Double

Returns the x-coordinate of end1.

Returns the x-coordinate of end1.

Attributes

Inherited from:
Link
Source
Link.scala
def x2: Double

Returns the x-coordinate of end2. This coordinate is "unwrapped" so it may actually be outside the bounds of the world.

Returns the x-coordinate of end2. This coordinate is "unwrapped" so it may actually be outside the bounds of the world.

Attributes

Inherited from:
Link
Source
Link.scala
def y1: Double

Returns the y-coordinate of end1.

Returns the y-coordinate of end1.

Attributes

Inherited from:
Link
Source
Link.scala
def y2: Double

Returns the y-coordinate of end2. This coordinate is "unwrapped" so it may actually be outside the bounds of the world.

Returns the y-coordinate of end2. This coordinate is "unwrapped" so it may actually be outside the bounds of the world.

Attributes

Inherited from:
Link
Source
Link.scala