c

org.nlogo.agent

Link3D

class Link3D extends Link with api.Link3D

Source
Link3D.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Link3D
  2. Link3D
  3. Link
  4. AgentColors
  5. Link
  6. Agent
  7. Comparable
  8. Agent
  9. AgentJ
  10. AnyRef
  11. 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)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def agentBit(): Int
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  5. def agentKey(): AnyRef
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  6. def alpha(): Int

    0-255, 0 = invisible, 255 = opaque

    0-255, 0 = invisible, 255 = opaque

    Definition Classes
    LinkAgent
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def bothEnds(): AgentSet
    Definition Classes
    Link
  9. def classDisplayName(): String

    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
    Annotations
    @Override()
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  11. def color(rgb: LogoList): Unit
    Definition Classes
    Link
  12. 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.

    Definition Classes
    LinkLink
  13. def colorDouble(boxedColor: Double): Unit
    Definition Classes
    Link
  14. def colorDoubleUnchecked(boxedColor: Double): Unit
    Definition Classes
    Link
  15. def compareTo(a: Agent): Int
    Definition Classes
    LinkAgent → Comparable
    Annotations
    @Override()
  16. def die(): Unit
    Definition Classes
    Link
  17. def end1(): Turtle

    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
  18. def end2(): Turtle

    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
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. def getBreed(): TreeAgentSet

    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
  22. def getBreedIndex(): Int

    Returns the index of the breed of this link.

    Returns the index of the breed of this link.

    Definition Classes
    LinkLink
  23. def getBreedVariable(name: String): AnyRef
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  25. def getLinkBreedVariable(name: String): AnyRef
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  26. def getLinkVariable(vn: Int): AnyRef
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  27. def getLinkVariableDouble(vn: Int): Double
    Definition Classes
    Link
  28. def getPatchAtOffsets(dx: Double, dy: Double): Patch
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  29. def getPatchVariable(vn: Int): AnyRef
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  30. def getTurtleOrLinkVariable(varName: String): AnyRef
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  31. def getTurtleVariable(vn: Int): AnyRef
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  32. 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

    vn

    the index into the agent variable array

    Definition Classes
    LinkAgentAgent
    Annotations
    @Override()
  33. def hasLabel(): Boolean

    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
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  35. def heading(): Double

    Returns the heading towards end2 from end1.

    Returns the heading towards end2 from end1.

    Definition Classes
    LinkLink
  36. def hidden(hidden: Boolean): Unit
    Definition Classes
    Link
  37. def hidden(): Boolean

    Returns the value of the hidden? variable.

    Returns the value of the hidden? variable.

    Definition Classes
    LinkLink
  38. def id: Long

    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
  39. def id_=(newId: Long): Unit
    Definition Classes
    Agent
  40. def isDirectedLink(): Boolean

    Returns true if this link is directed.

    Returns true if this link is directed.

    Definition Classes
    LinkLink
  41. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  42. def isTied(): Boolean
    Definition Classes
    Link
  43. def kind(): AgentKind

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

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

    Definition Classes
    LinkAgent
  44. def label(label: Any): Unit
    Definition Classes
    Link
  45. def label(): AnyRef
    Definition Classes
    Link
  46. def labelColor(rgb: LogoList): Unit
    Definition Classes
    Link
  47. def labelColor(labelColor: Double): Unit
    Definition Classes
    Link
  48. def labelColor(): AnyRef

    Returns the value of the label-color variable.

    Returns the value of the label-color variable.

    Definition Classes
    LinkLink
  49. def labelString(): String

    Returns the value of the label variable.

    Returns the value of the label variable.

    Definition Classes
    LinkLink
  50. def lineThickness(value: Double): Unit
    Definition Classes
    Link
  51. def lineThickness(): Double

    Returns the value of the thinkness variable.

    Returns the value of the thinkness variable.

    Definition Classes
    LinkLink
  52. def linkDestinationSize(): Double

    Returns the size of end2.

    Returns the size of end2.

    Definition Classes
    LinkLink
  53. def midpointX(): Double

    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
  54. def midpointY(): Double

    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
  55. def mode(mode: String): Unit
    Definition Classes
    Link
  56. def mode(): String
    Definition Classes
    Link
  57. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  58. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  59. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  60. def otherEnd(parent: Turtle): Turtle
    Definition Classes
    Link
  61. def pitch: Double

    Returns the pitch towards end2 from end1

    Returns the pitch towards end2 from end1

    Definition Classes
    Link3DLink3D
  62. def realloc(oldProgram: Program, newProgram: Program): Agent
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  63. def setBreed(breed: AgentSet): Unit
    Definition Classes
    Link
  64. def setBreedVariable(vn: Int, value: Double): Unit
    Definition Classes
    Link
  65. def setBreedVariable(name: String, value: Any): Unit
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  66. def setId(newId: Long): Unit
    Definition Classes
    Agent
  67. def setLinkBreedVariable(name: String, value: Any): Unit
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  68. def setLinkVariable(vn: Int, value: Any): Unit
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  69. def setLinkVariable(vn: Int, value: Double): Unit
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  70. def setPatchVariable(vn: Int, value: Double): Unit
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  71. def setPatchVariable(vn: Int, value: Any): Unit
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  72. def setTurtleOrLinkVariable(varName: String, value: Any): Unit
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  73. def setTurtleVariable(vn: Int, value: Double): Unit
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  74. def setTurtleVariable(vn: Int, value: Any): Unit
    Definition Classes
    LinkAgent
    Annotations
    @Override()
  75. def setVariable(vn: Int, value: Any): 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

    vn

    the index into the agent variable array

    value

    the new value for the variable

    Definition Classes
    LinkAgentAgent
    Annotations
    @Override()
    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

  76. def setVariables(v: Array[AnyRef]): Unit
    Definition Classes
    Agent
  77. def shape(shape: String): Unit
    Definition Classes
    Link
  78. def shape(): String

    Returns the name of the current shape

    Returns the name of the current shape

    Definition Classes
    LinkLinkAgent
  79. def size(): Double

    Returns the size of this agent

    Returns the size of this agent

    Definition Classes
    LinkAgent
  80. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  81. def toString(): String
    Definition Classes
    Link → AnyRef → Any
    Annotations
    @Override()
  82. def untie(): Unit
    Definition Classes
    Link
  83. def validRGBList(rgb: LogoList, allowAlpha: Boolean): Unit
    Definition Classes
    AgentColors
    Annotations
    @throws( classOf[AgentException] )
  84. def variableName(vn: Int): String

    Returns the name of the variable with the given index.

    Returns the name of the variable with the given index. Works for built-in, *-own, and breed variables.

    vn

    the index of the variable

    Definition Classes
    LinkAgent
  85. def variables: Array[AnyRef]

    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
  86. def variables_=(v: Array[AnyRef]): Unit
    Definition Classes
    Agent
  87. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  88. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  89. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. def world: World

    Returns the world object associated with this agent

    Returns the world object associated with this agent

    Definition Classes
    AgentAgent
  91. def x1(): Double

    Returns the x-coordinate of end1.

    Returns the x-coordinate of end1.

    Definition Classes
    LinkLink
  92. def x2(): Double

    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
  93. def y1(): Double

    Returns the y-coordinate of end1.

    Returns the y-coordinate of end1.

    Definition Classes
    LinkLink
  94. def y2(): Double

    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
  95. def z1: Double

    Returns the z-coordinate of end1

    Returns the z-coordinate of end1

    Definition Classes
    Link3DLink3D
  96. 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

    Definition Classes
    Link3DLink3D

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from api.Link3D

Inherited from Link

Inherited from AgentColors

Inherited from api.Link

Inherited from Agent

Inherited from Comparable[Agent]

Inherited from api.Agent

Inherited from AgentJ

Inherited from AnyRef

Inherited from Any

Ungrouped