Class

org.nlogo.agent

Patch3D

Related Doc: package agent

Permalink

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

    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 addTurtle(t: Turtle): Unit

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

    Permalink

    0-255, 0 = invisible, 255 = opaque

    0-255, 0 = invisible, 255 = opaque

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

    Permalink
    Definition Classes
    Any
  8. 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
    PatchAgentAgent
  9. def clearChanged(): Unit

    Permalink
    Attributes
    protected[java.util]
    Definition Classes
    Observable
  10. def clearTurtles(): Unit

    Permalink
    Definition Classes
    Patch
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compareTo(a: Agent): Int

    Permalink
    Definition Classes
    Agent → Comparable
  13. def countObservers(): Int

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

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

    Permalink
    Definition Classes
    Observable
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def fastGetPatchAt(x: Int, y: Int): Patch

    Permalink
    Definition Classes
    Patch3DPatch
  19. def finalize(): Unit

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

    Permalink
    Definition Classes
    PatchAgent
  21. def getAgentClass(): Class[Patch]

    Permalink
    Definition Classes
    PatchAgent
  22. def getBreedVariable(name: String): AnyRef

    Permalink
    Definition Classes
    PatchAgent
  23. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    PatchAgent
  25. def getLinkVariable(vn: Int): AnyRef

    Permalink
    Definition Classes
    PatchAgent
  26. def getNeighbors(): AgentSet

    Permalink
    Definition Classes
    Patch3DPatch
  27. def getNeighbors4(): AgentSet

    Permalink
    Definition Classes
    Patch
  28. def getNeighbors6(): AgentSet

    Permalink
  29. def getObserverVariable(vn: Int): AnyRef

    Permalink
    Definition Classes
    PatchAgent
  30. def getPatchAtOffsets(dx: Double, dy: Double, dz: Double): Patch3D

    Permalink
    Definition Classes
    Patch3DAgent3D
  31. def getPatchAtOffsets(dx: Double, dy: Double): Patch

    Permalink

    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
  32. def getPatchAtPoint(point: List[Double]): Patch

    Permalink
  33. def getPatchEast(): Patch

    Permalink
    Definition Classes
    Patch
  34. def getPatchNorth(): Patch

    Permalink
    Definition Classes
    Patch
  35. def getPatchNorthEast(): Patch

    Permalink
    Definition Classes
    Patch
  36. def getPatchNorthWest(): Patch

    Permalink
    Definition Classes
    Patch
  37. def getPatchSouth(): Patch

    Permalink
    Definition Classes
    Patch
  38. def getPatchSouthEast(): Patch

    Permalink
    Definition Classes
    Patch
  39. def getPatchSouthWest(): Patch

    Permalink
    Definition Classes
    Patch
  40. def getPatchVariable(vn: Int): AnyRef

    Permalink
    Definition Classes
    Patch3DPatchAgent
  41. def getPatchVariableDouble(vn: Int): Double

    Permalink
    Definition Classes
    Patch3DPatch
  42. def getPatchWest(): Patch

    Permalink
    Definition Classes
    Patch
  43. def getTurtleOrLinkVariable(varName: String): AnyRef

    Permalink
    Definition Classes
    PatchAgent
  44. def getTurtleVariable(vn: Int): AnyRef

    Permalink
    Definition Classes
    PatchAgent
  45. 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
    PatchAgentAgent
  46. def getVariableCount(): Int

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

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

    Permalink

    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
  49. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  50. 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
  51. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Agent
  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
    PatchAgent
  54. def label(label: Any): Unit

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

    Permalink
    Definition Classes
    Patch3DPatch
  56. def labelColor(labelColor: Double): Unit

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

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

    Permalink

    Returns the value of the label-color variable.

    Returns the value of the label-color variable.

    Definition Classes
    Patch3DPatchPatch
  59. def labelColor(rgb: LogoList, varIndex: Int): Unit

    Permalink
    Definition Classes
    Patch
  60. def labelString(): String

    Permalink

    Returns the value of the label variable.

    Returns the value of the label variable.

    Definition Classes
    Patch3DPatchPatch
  61. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    Observable
  66. def pcolor(rgb: LogoList): Unit

    Permalink
    Definition Classes
    Patch3DPatch
  67. def pcolor(boxedColor: Double): Unit

    Permalink
    Definition Classes
    Patch3DPatch
  68. def pcolor(pcolor: Double): Unit

    Permalink
    Definition Classes
    Patch3DPatch
  69. def pcolor(): AnyRef

    Permalink

    Returns the value of the pcolor variable.

    Returns the value of the pcolor variable.

    Definition Classes
    Patch3DPatchPatch
  70. def pcolor(rgb: LogoList, varIndex: Int, allowAlpha: Boolean): Unit

    Permalink
    Definition Classes
    Patch
  71. def pcolorDouble(): Double

    Permalink
    Definition Classes
    Patch
  72. def pcolorDoubleUnchecked(boxedColor: Double): Unit

    Permalink
    Definition Classes
    Patch3DPatch
  73. def pxcor(): Int

    Permalink

    Returns the value of the pxcor variable.

    Returns the value of the pxcor variable.

    Definition Classes
    PatchPatch
  74. def pycor(): Int

    Permalink

    Returns the value of the pycor variable.

    Returns the value of the pycor variable.

    Definition Classes
    PatchPatch
  75. def pzcor(): Int

    Permalink

    Returns the value of the pzcor variable

    Returns the value of the pzcor variable

    Definition Classes
    Patch3DPatch3D
  76. def removeTurtle(t: Turtle): Unit

    Permalink
    Definition Classes
    Patch
  77. def setBreedVariable(name: String, value: Any): Unit

    Permalink
    Definition Classes
    PatchAgent
  78. def setChanged(): Unit

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

    Permalink
    Definition Classes
    PatchAgent
  80. def setLinkVariable(vn: Int, value: Double): Unit

    Permalink
    Definition Classes
    PatchAgent
  81. def setLinkVariable(vn: Int, value: Any): Unit

    Permalink
    Definition Classes
    PatchAgent
  82. def setObserverVariable(vn: Int, value: Any): Unit

    Permalink
    Definition Classes
    PatchAgent
  83. def setPatchVariable(vn: Int, value: Double): Unit

    Permalink
    Definition Classes
    Patch3DPatchAgent
  84. def setPatchVariable(vn: Int, value: Any): Unit

    Permalink
    Definition Classes
    Patch3DPatchAgent
  85. def setTurtleOrLinkVariable(varName: String, value: Any): Unit

    Permalink
    Definition Classes
    PatchAgent
  86. def setTurtleVariable(vn: Int, value: Double): Unit

    Permalink
    Definition Classes
    PatchAgent
  87. def setTurtleVariable(vn: Int, value: Any): Unit

    Permalink
    Definition Classes
    PatchAgent
  88. 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
    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

  89. def shape(): String

    Permalink

    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
  90. def size(): Double

    Permalink

    Returns the size of this agent

    Returns the size of this agent

    Definition Classes
    PatchAgent
  91. def sprout(c: Int, heading: Int, breed: AgentSet): Turtle

    Permalink
    Definition Classes
    Patch3DPatch
  92. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Patch3DPatch → AnyRef → Any
  94. def turtleCount(): Int

    Permalink
    Definition Classes
    Patch
  95. def turtlesHere(): Iterable[Turtle]

    Permalink
    Definition Classes
    Patch
  96. def turtlesHereAgentSet(): AgentSet

    Permalink
    Definition Classes
    Patch
  97. def variableConstraint(vn: Int, con: ValueConstraint): Unit

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

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

    Permalink
    Definition Classes
    PatchAgent
  100. 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
  101. final def wait(): Unit

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

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

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

    Permalink

    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