Class

org.nlogo.agent

Link3D

Related Doc: package agent

Permalink

class Link3D extends Link with api.Link3D

Source
Link3D.scala
Linear Supertypes
api.Link3D, Link, api.Link, Agent, Comparable[Agent], api.Agent, Observable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Link3D
  2. Link3D
  3. Link
  4. Link
  5. Agent
  6. Comparable
  7. Agent
  8. Observable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Link3D(world: World, end1: Turtle, end2: Turtle, breed: AgentSet)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addObserver(arg0: java.util.Observer): Unit

    Permalink
    Definition Classes
    Observable
  5. def agentKey(): AnyRef

    Permalink
    Definition Classes
    LinkAgent
  6. def alpha(): Int

    Permalink

    0-255, 0 = invisible, 255 = opaque

    0-255, 0 = invisible, 255 = opaque

    Definition Classes
    LinkAgent
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def bothEnds(): AgentSet

    Permalink
    Definition Classes
    Link
  9. def classDisplayName(): String

    Permalink

    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)

    Definition Classes
    LinkAgentAgent
  10. def clearChanged(): Unit

    Permalink
    Attributes
    protected[java.util]
    Definition Classes
    Observable
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def color(rgb: LogoList): Unit

    Permalink
    Definition Classes
    Link
  13. def color(): AnyRef

    Permalink

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

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

    Definition Classes
    LinkLink
  14. def colorDouble(boxedColor: Double): Unit

    Permalink
    Definition Classes
    Link
  15. def colorDoubleUnchecked(boxedColor: Double): Unit

    Permalink
    Definition Classes
    Link
  16. def compareTo(a: Agent): Int

    Permalink
    Definition Classes
    LinkAgent → Comparable
  17. def countObservers(): Int

    Permalink
    Definition Classes
    Observable
  18. def deleteObserver(arg0: java.util.Observer): Unit

    Permalink
    Definition Classes
    Observable
  19. def deleteObservers(): Unit

    Permalink
    Definition Classes
    Observable
  20. def die(): Unit

    Permalink
    Definition Classes
    Link
  21. def end1(): Turtle

    Permalink

    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.

    Definition Classes
    LinkLink
  22. def end2(): Turtle

    Permalink

    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.

    Definition Classes
    LinkLink
  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def getAgentBit(): Int

    Permalink
    Definition Classes
    LinkAgent
  27. def getAgentClass(): Class[Link]

    Permalink
    Definition Classes
    LinkAgent
  28. def getBreed(): AgentSet

    Permalink

    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.

    Definition Classes
    LinkLink
  29. def getBreedIndex(): Int

    Permalink

    Returns the index of the breed of this link.

    Returns the index of the breed of this link.

    Definition Classes
    LinkLink
  30. def getBreedVariable(name: String): AnyRef

    Permalink
    Definition Classes
    LinkAgent
  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  32. def getLinkBreedVariable(name: String): AnyRef

    Permalink
    Definition Classes
    LinkAgent
  33. def getLinkVariable(vn: Int): AnyRef

    Permalink
    Definition Classes
    LinkAgent
  34. def getLinkVariableDouble(vn: Int): Double

    Permalink
    Definition Classes
    Link
  35. def getObserverVariable(vn: Int): AnyRef

    Permalink
    Definition Classes
    LinkAgent
  36. def getPatchAtOffsets(dx: Double, dy: Double): Patch

    Permalink
    Definition Classes
    LinkAgent
  37. def getPatchVariable(vn: Int): AnyRef

    Permalink
    Definition Classes
    LinkAgent
  38. def getTurtleOrLinkVariable(varName: String): AnyRef

    Permalink
    Definition Classes
    LinkAgent
  39. def getTurtleVariable(vn: Int): AnyRef

    Permalink
    Definition Classes
    LinkAgent
  40. def getVariable(vn: Int): AnyRef

    Permalink

    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

    vn

    the index into the agent variable array

    Definition Classes
    LinkAgentAgent
  41. def getVariableCount(): Int

    Permalink
    Definition Classes
    Agent
  42. def hasChanged(): Boolean

    Permalink
    Definition Classes
    Observable
  43. def hasLabel(): Boolean

    Permalink

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

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

    Definition Classes
    LinkLink
  44. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  45. def heading(): Double

    Permalink

    Returns the heading towards end2 from end1.

    Returns the heading towards end2 from end1.

    Definition Classes
    LinkLink
  46. def hidden(hidden: Boolean): Unit

    Permalink
    Definition Classes
    Link
  47. def hidden(): Boolean

    Permalink

    Returns the value of the hidden? variable.

    Returns the value of the hidden? variable.

    Definition Classes
    LinkLink
  48. def id(): Long

    Permalink

    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

    Definition Classes
    AgentAgent
  49. def isDirectedLink(): Boolean

    Permalink

    Returns true if this link is directed.

    Returns true if this link is directed.

    Definition Classes
    LinkLink
  50. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  51. def isPartiallyTransparent(): Boolean

    Permalink
    Definition Classes
    Agent
  52. def isTied(): Boolean

    Permalink
    Definition Classes
    Link
  53. def kind(): AgentKind

    Permalink

    Returns the kind of this agent (observer, turtle, patch, or link.

    Returns the kind of this agent (observer, turtle, patch, or link.

    Definition Classes
    LinkAgent
  54. def label(label: Any): Unit

    Permalink
    Definition Classes
    Link
  55. def label(): AnyRef

    Permalink
    Definition Classes
    Link
  56. def labelColor(rgb: LogoList): Unit

    Permalink
    Definition Classes
    Link
  57. def labelColor(labelColor: Double): Unit

    Permalink
    Definition Classes
    Link
  58. def labelColor(): AnyRef

    Permalink

    Returns the value of the label-color variable.

    Returns the value of the label-color variable.

    Definition Classes
    LinkLink
  59. def labelString(): String

    Permalink

    Returns the value of the label variable.

    Returns the value of the label variable.

    Definition Classes
    LinkLink
  60. def lineThickness(value: Double): Unit

    Permalink
    Definition Classes
    Link
  61. def lineThickness(): Double

    Permalink

    Returns the value of the thinkness variable.

    Returns the value of the thinkness variable.

    Definition Classes
    LinkLink
  62. def linkDestinationSize(): Double

    Permalink

    Returns the size of end2.

    Returns the size of end2.

    Definition Classes
    LinkLink
  63. def midpointX(): Double

    Permalink

    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.

    Definition Classes
    LinkLink
  64. def midpointY(): Double

    Permalink

    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.

    Definition Classes
    LinkLink
  65. def mode(mode: String): Unit

    Permalink
    Definition Classes
    Link
  66. def mode(): String

    Permalink
    Definition Classes
    Link
  67. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  68. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  69. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  70. def notifyObservers(arg0: Any): Unit

    Permalink
    Definition Classes
    Observable
  71. def notifyObservers(): Unit

    Permalink
    Definition Classes
    Observable
  72. def pitch: Double

    Permalink

    Returns the pitch towards end2 from end1

    Returns the pitch towards end2 from end1

    Definition Classes
    Link3DLink3D
  73. def setBreed(breed: AgentSet): Unit

    Permalink
    Definition Classes
    Link
  74. def setBreedVariable(vn: Int, value: Double): Unit

    Permalink
    Definition Classes
    Link
  75. def setBreedVariable(name: String, value: Any): Unit

    Permalink
    Definition Classes
    LinkAgent
  76. def setChanged(): Unit

    Permalink
    Attributes
    protected[java.util]
    Definition Classes
    Observable
  77. def setLinkBreedVariable(name: String, value: Any): Unit

    Permalink
    Definition Classes
    LinkAgent
  78. def setLinkVariable(vn: Int, value: Any): Unit

    Permalink
    Definition Classes
    LinkAgent
  79. def setLinkVariable(vn: Int, value: Double): Unit

    Permalink
    Definition Classes
    LinkAgent
  80. def setObserverVariable(vn: Int, value: Any): Unit

    Permalink
    Definition Classes
    LinkAgent
  81. def setPatchVariable(vn: Int, value: Double): Unit

    Permalink
    Definition Classes
    LinkAgent
  82. def setPatchVariable(vn: Int, value: Any): Unit

    Permalink
    Definition Classes
    LinkAgent
  83. def setTurtleOrLinkVariable(varName: String, value: Any): Unit

    Permalink
    Definition Classes
    LinkAgent
  84. def setTurtleVariable(vn: Int, value: Double): Unit

    Permalink
    Definition Classes
    LinkAgent
  85. def setTurtleVariable(vn: Int, value: Any): Unit

    Permalink
    Definition Classes
    LinkAgent
  86. def setVariable(vn: Int, value: Any): Unit

    Permalink

    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

    vn

    the index into the agent variable array

    value

    the new value for the variable

    Definition Classes
    LinkAgentAgent
    Exceptions thrown

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

  87. def shape(shape: String): Unit

    Permalink
    Definition Classes
    Link
  88. def shape(): String

    Permalink

    Returns the name of the current shape

    Returns the name of the current shape

    Definition Classes
    LinkLinkAgent
  89. def size(): Double

    Permalink

    Returns the size of this agent

    Returns the size of this agent

    Definition Classes
    LinkAgent
  90. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  91. def toString(): String

    Permalink
    Definition Classes
    Link → AnyRef → Any
  92. def untie(): Unit

    Permalink
    Definition Classes
    Link
  93. def variableConstraint(vn: Int, con: ValueConstraint): Unit

    Permalink
    Definition Classes
    Agent
  94. def variableConstraint(vn: Int): ValueConstraint

    Permalink
    Definition Classes
    Agent
  95. def variableName(vn: Int): String

    Permalink
    Definition Classes
    LinkAgent
  96. def variables(): Array[AnyRef]

    Permalink

    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.

    Definition Classes
    AgentAgent
  97. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  98. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  100. def world(): World

    Permalink

    Returns the world object associated with this agent

    Returns the world object associated with this agent

    Definition Classes
    AgentAgent
  101. def x1(): Double

    Permalink

    Returns the x-coordinate of end1.

    Returns the x-coordinate of end1.

    Definition Classes
    LinkLink
  102. def x2(): Double

    Permalink

    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.

    Definition Classes
    LinkLink
  103. def y1(): Double

    Permalink

    Returns the y-coordinate of end1.

    Returns the y-coordinate of end1.

    Definition Classes
    LinkLink
  104. def y2(): Double

    Permalink

    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.

    Definition Classes
    LinkLink
  105. def z1: Double

    Permalink

    Returns the z-coordinate of end1

    Returns the z-coordinate of end1

    Definition Classes
    Link3DLink3D
  106. def z2: Double

    Permalink

    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

    Definition Classes
    Link3DLink3D

Inherited from api.Link3D

Inherited from Link

Inherited from api.Link

Inherited from Agent

Inherited from Comparable[Agent]

Inherited from api.Agent

Inherited from Observable

Inherited from AnyRef

Inherited from Any

Ungrouped