c

org.nlogo.agent

Patch3D

final class Patch3D extends Patch with Agent3D with api.Patch3D

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

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 addObserver(arg0: java.util.Observer): Unit
    Definition Classes
    Observable
  5. def addTurtle(t: Turtle): Unit
    Definition Classes
    Patch
  6. def agentBit(): Int
    Definition Classes
    Agent
  7. def alpha(): Int

    0-255, 0 = invisible, 255 = opaque

    0-255, 0 = invisible, 255 = opaque

    Definition Classes
    Patch3DPatchAgent
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  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
    PatchAgentAgent
  10. def clearChanged(): Unit
    Attributes
    protected[java.util]
    Definition Classes
    Observable
  11. def clearTurtles(): Unit
    Definition Classes
    Patch
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def compareTo(a: Agent): Int
    Definition Classes
    Agent → Comparable
  14. def countObservers(): Int
    Definition Classes
    Observable
  15. def deleteObserver(arg0: java.util.Observer): Unit
    Definition Classes
    Observable
  16. def deleteObservers(): Unit
    Definition Classes
    Observable
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def fastGetPatchAt(x: Int, y: Int): Patch
    Definition Classes
    Patch3DPatch
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def getAgentBit(): Int
    Definition Classes
    PatchAgent
  22. def getAgentClass(): Class[Patch]
    Definition Classes
    PatchAgent
  23. def getBreedVariable(name: String): AnyRef
    Definition Classes
    PatchAgent
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  25. def getLinkBreedVariable(name: String): AnyRef
    Definition Classes
    PatchAgent
  26. def getLinkVariable(vn: Int): AnyRef
    Definition Classes
    PatchAgent
  27. def getNeighbors(): IndexedAgentSet
    Definition Classes
    Patch3DPatch
  28. def getNeighbors4(): IndexedAgentSet
    Definition Classes
    Patch
  29. def getNeighbors6(): AgentSet
  30. def getObserverVariable(vn: Int): AnyRef
    Definition Classes
    PatchAgent
  31. def getPatchAtOffsets(dx: Double, dy: Double, dz: Double): Patch3D
    Definition Classes
    Patch3DAgent3D
  32. def getPatchAtOffsets(dx: Double, dy: Double): Patch

    Returns the patch at dx and dy from this patch

    Returns the patch at dx and dy from this patch

    dx

    the x offset from this patch

    dy

    the y offset from this patch

    Definition Classes
    Patch3DPatchPatchAgent
  33. def getPatchAtPoint(point: List[Double]): Patch
  34. def getPatchEast(): Patch
    Definition Classes
    Patch
  35. def getPatchNorth(): Patch
    Definition Classes
    Patch
  36. def getPatchNorthEast(): Patch
    Definition Classes
    Patch
  37. def getPatchNorthWest(): Patch
    Definition Classes
    Patch
  38. def getPatchSouth(): Patch
    Definition Classes
    Patch
  39. def getPatchSouthEast(): Patch
    Definition Classes
    Patch
  40. def getPatchSouthWest(): Patch
    Definition Classes
    Patch
  41. def getPatchVariable(vn: Int): AnyRef
    Definition Classes
    Patch3DPatchAgent
  42. def getPatchVariableDouble(vn: Int): Double
    Definition Classes
    Patch3DPatch
  43. def getPatchWest(): Patch
    Definition Classes
    Patch
  44. def getTurtleOrLinkVariable(varName: String): AnyRef
    Definition Classes
    PatchAgent
  45. def getTurtleVariable(vn: Int): AnyRef
    Definition Classes
    PatchAgent
  46. 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
    PatchAgentAgent
  47. def getVariableCount(): Int
    Definition Classes
    Agent
  48. def hasChanged(): Boolean
    Definition Classes
    Observable
  49. def hasLabel(): Boolean

    Returns true if the label variable contains something other than an empty string.

    Returns true if the label variable contains something other than an empty string.

    Definition Classes
    PatchPatch
  50. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  51. 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
  52. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  53. def isPartiallyTransparent(): Boolean
    Definition Classes
    Agent
  54. def kind(): AgentKind

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

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

    Definition Classes
    PatchAgent
  55. def label(label: Any): Unit
    Definition Classes
    Patch3DPatch
  56. def label(): AnyRef
    Definition Classes
    Patch3DPatch
  57. def labelColor(labelColor: Double): Unit
    Definition Classes
    Patch3DPatch
  58. def labelColor(labelColor: Double): Unit
    Definition Classes
    Patch3DPatch
  59. def labelColor(): AnyRef

    Returns the value of the label-color variable.

    Returns the value of the label-color variable.

    Definition Classes
    Patch3DPatchPatch
  60. def labelColor(rgb: LogoList, varIndex: Int): Unit
    Definition Classes
    Patch
  61. def labelString(): String

    Returns the value of the label variable.

    Returns the value of the label variable.

    Definition Classes
    Patch3DPatchPatch
  62. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  63. final def notify(): Unit
    Definition Classes
    AnyRef
  64. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  65. def notifyObservers(arg0: Any): Unit
    Definition Classes
    Observable
  66. def notifyObservers(): Unit
    Definition Classes
    Observable
  67. def pcolor(rgb: LogoList): Unit
    Definition Classes
    Patch3DPatch
  68. def pcolor(boxedColor: Double): Unit
    Definition Classes
    Patch3DPatch
  69. def pcolor(pcolor: Double): Unit
    Definition Classes
    Patch3DPatch
  70. def pcolor(): AnyRef

    Returns the value of the pcolor variable.

    Returns the value of the pcolor variable.

    Definition Classes
    Patch3DPatchPatch
  71. def pcolor(rgb: LogoList, varIndex: Int, allowAlpha: Boolean): Unit
    Definition Classes
    Patch
  72. def pcolorDouble(): Double
    Definition Classes
    Patch
  73. def pcolorDoubleUnchecked(boxedColor: Double): Unit
    Definition Classes
    Patch3DPatch
  74. def pxcor(): Int

    Returns the value of the pxcor variable.

    Returns the value of the pxcor variable.

    Definition Classes
    PatchPatch
  75. def pycor(): Int

    Returns the value of the pycor variable.

    Returns the value of the pycor variable.

    Definition Classes
    PatchPatch
  76. def pzcor(): Int

    Returns the value of the pzcor variable

    Returns the value of the pzcor variable

    Definition Classes
    Patch3DPatch3D
  77. def removeTurtle(t: Turtle): Unit
    Definition Classes
    Patch
  78. def setBreedVariable(name: String, value: Any): Unit
    Definition Classes
    PatchAgent
  79. def setChanged(): Unit
    Attributes
    protected[java.util]
    Definition Classes
    Observable
  80. def setLinkBreedVariable(name: String, value: Any): Unit
    Definition Classes
    PatchAgent
  81. def setLinkVariable(vn: Int, value: Double): Unit
    Definition Classes
    PatchAgent
  82. def setLinkVariable(vn: Int, value: Any): Unit
    Definition Classes
    PatchAgent
  83. def setObserverVariable(vn: Int, value: Any): Unit
    Definition Classes
    PatchAgent
  84. def setPatchVariable(vn: Int, value: Double): Unit
    Definition Classes
    Patch3DPatchAgent
  85. def setPatchVariable(vn: Int, value: Any): Unit
    Definition Classes
    Patch3DPatchAgent
  86. def setTurtleOrLinkVariable(varName: String, value: Any): Unit
    Definition Classes
    PatchAgent
  87. def setTurtleVariable(vn: Int, value: Double): Unit
    Definition Classes
    PatchAgent
  88. def setTurtleVariable(vn: Int, value: Any): Unit
    Definition Classes
    PatchAgent
  89. 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
    PatchAgentAgent
    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

  90. def shape(): String

    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.

    Definition Classes
    PatchPatchAgent
  91. def size(): Double

    Returns the size of this agent

    Returns the size of this agent

    Definition Classes
    PatchAgent
  92. def sprout(c: Int, heading: Int, breed: AgentSet): Turtle
    Definition Classes
    Patch3DPatch
  93. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  94. def toString(): String
    Definition Classes
    Patch3DPatch → AnyRef → Any
  95. def turtleCount(): Int
    Definition Classes
    Patch
  96. def turtlesHere(): Iterable[Turtle]
    Definition Classes
    Patch
  97. def turtlesHereAgentSet(): AgentSet
    Definition Classes
    Patch
  98. def variableConstraint(vn: Int, con: ValueConstraint): Unit
    Definition Classes
    Agent
  99. def variableConstraint(vn: Int): ValueConstraint
    Definition Classes
    Agent
  100. 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. Only added in NetLogo 5.0.6.

    vn

    the index of the variable

    Definition Classes
    PatchAgent
  101. 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
  102. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  103. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  104. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  105. def world(): World

    Returns the world object associated with this agent

    Returns the world object associated with this agent

    Definition Classes
    AgentAgent

Inherited from api.Patch3D

Inherited from Agent3D

Inherited from Patch

Inherited from api.Patch

Inherited from Agent

Inherited from Comparable[Agent]

Inherited from api.Agent

Inherited from Observable

Inherited from AnyRef

Inherited from Any

Ungrouped