NetLogo 6.2.2 - org.nlogo.agent.Turtle3D
Keywords: NetLogo 6.2.2 org.nlogo.agent.Turtle3D

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package agent
  Definition Classes
    nlogo
- AbstractExporter
- Agent
- Agent3D
- AgentBit
- AgentColors
- AgentIterator
- AgentManagement
- AgentParserCreator
- AgentSet
- AgentSetBuilder
- AllStoredValues
- ArrayAgentSet
- BooleanConstraint
- Box
- BreedShapes
- ChooserConstraint
- CompilationManagement
- ConstantSliderConstraint
- Constraints
- CoreWorld
- DimensionManagement
- Directedness
- Drawing3D
- DrawingLine3D
- DummyLink
- DynamicSliderConstraint
- Gamma
- GrossWorldState
- HeadingSmoother
- HorizCylinder
- ImportPatchColors
- Importer
- Importer3D
- ImporterJ
- InRadiusOrCone
- InRadiusOrCone3D
- InRadiusSimple
- IndexedAgentSet
- InputBoxConstraint
- Layouts
- Link
- Link3D
- LinkFactory
- LinkManagement
- LinkManager
- LinkManagerImpl
- LinkStamp3D
- LiteralAgentParser
- Neighbors
- NumericConstraint
- Observer
- Observer3D
- ObserverManagement
- OrientatableObserver
- OutputObject
- Patch
- Patch3D
- PatchException
- Protractor
- Protractor3D
- Realloc
- RootsTable
- Rotations3D
- SliderConstraint
- TickCounter
- TieManager
- TieManager3D
- Topology
- Topology3D
- Torus
- Torus3D
- Trail
- TreeAgentSet
- TrigTables
- Turtle
- Turtle2D
- Turtle3D
- TurtleManagement
- TurtleStamp3D
- VertCylinder
- WatcherManagement
- World
- World2D
- World3D
- WorldKernel
- XBlocks
- XWraps
- YBlocks
- YWraps

c

org.nlogo.agent

# Turtle3D 

###

#### final class Turtle3D extends Turtle with Agent3D with api.Turtle3D

Annotations
  @strictfp()
Source
  Turtle3D.java

Linear Supertypes
api.Turtle3D, Agent3D, Turtle, AgentColors, api.Turtle, Agent, Comparable[Agent], api.Agent, AgentJ, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Turtle3D
2. Turtle3D
3. Agent3D
4. Turtle
5. AgentColors
6. Turtle
7. Agent
8. Comparable
9. Agent
10. AgentJ
11. AnyRef
12. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new Turtle3D(world: World3D, breed: AgentSet, xcor: Number, ycor: Number, zcor: Number)

### 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 addLink(link: Link): Unit
   Definition Classes
     Turtle
5.  def agentBit(): Int
   Definition Classes
     Turtle → Agent
   Annotations
     @Override()
6.  def alpha(): Int

   0-255, 0 = invisible, 255 = opaque

   0-255, 0 = invisible, 255 = opaque

   Definition Classes
     Turtle → Agent
7.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
8.  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
     Turtle → Agent → Agent
   Annotations
     @Override()
9.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... ) @native()
10.  def color(rgb: LogoList, varIndex: Int): Unit
    Definition Classes
      Turtle
11.  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
      Turtle → Turtle
12.  def colorDouble(boxedColor: Double): Unit
    Definition Classes
      Turtle
13.  def colorDoubleUnchecked(boxedColor: Double): Unit
    Definition Classes
      Turtle
14.  def compareTo(a: Agent): Int
    Definition Classes
      Agent → Comparable
15.  def die(): Unit
    Definition Classes
      Turtle
16.  def dx(): Double

    Returns the x component of the forward vector

    Returns the x component of the forward vector

    Definition Classes
      Turtle3D → Turtle3D → Turtle
    Annotations
      @Override()
17.  def dy(): Double

    Returns the y component of the forward vector

    Returns the y component of the forward vector

    Definition Classes
      Turtle3D → Turtle3D → Turtle
    Annotations
      @Override()
18.  def dz(): Double

    Returns the z component of the forward vector

    Returns the z component of the forward vector

    Definition Classes
      Turtle3D → Turtle3D
19.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
20.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
21.  def face(x: Double, y: Double, z: Double, wrap: Boolean): Unit
22.  def face(agent: Agent, wrap: Boolean): Unit
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
23.  def face(x: Double, y: Double, wrap: Boolean): Unit
    Definition Classes
      Turtle
24.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
25.  def getBreed(): TreeAgentSet

    Returns the breed AgentSet of this turtle, all turtles if the turtle is unbreeded.

    Returns the breed AgentSet of this turtle, all turtles if the turtle is unbreeded.

    Definition Classes
      Turtle3D → Turtle → Turtle
    Annotations
      @Override()
26.  def getBreedIndex(): Int

    Returns the index of this turtle's breed.

    Returns the index of this turtle's breed.

    Definition Classes
      Turtle → Turtle
27.  def getBreedVariable(name: String): AnyRef
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
28.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
29.  def getLinkBreedVariable(name: String): AnyRef
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
30.  def getLinkVariable(vn: Int): AnyRef
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
31.  def getPatchAtHeadingAndDistance(delta: Double, distance: Double): Patch
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
32.  def getPatchAtOffsets(dx: Double, dy: Double, dz: Double): Patch3D
    Definition Classes
      Turtle3D → Agent3D
33.  def getPatchAtOffsets(dx: Double, dy: Double): Patch
    Definition Classes
      Turtle3D → Turtle → Agent
    Annotations
      @Override()
34.  def getPatchAtPoint(point: List[Double]): Patch
35.  def getPatchHere(): Patch

    Returns the patch that this turtle is on.

    Returns the patch that this turtle is on.

    Definition Classes
      Turtle3D → Turtle → Turtle
    Annotations
      @Override()
36.  def getPatchVariable(vn: Int): AnyRef
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
37.  def getTurtleOrLinkVariable(varName: String): AnyRef
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
38.  def getTurtleVariable(vn: Int): AnyRef
    Definition Classes
      Turtle3D → Turtle → Agent
    Annotations
      @Override()
39.  def getTurtleVariableDouble(vn: Int): Double
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
40.  def getVariable(name: String): AnyRef
    Definition Classes
      Turtle
41.  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
      Turtle → Agent → Agent
    Annotations
      @Override()
42.  def hasLabel(): Boolean

    Returns true if the `label` variable has a non-empty string value.

    Returns true if the `label` variable has a non-empty string value.

    Definition Classes
      Turtle → Turtle
43.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
44.  def hatch(breed: TreeAgentSet): Turtle
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
45.  def hatch(): Turtle
    Definition Classes
      Turtle
46.  def heading(heading: Double): Unit
    Definition Classes
      Turtle
47.  def heading(heading: Double, seenTurtles: Set[Turtle]): Unit
    Definition Classes
      Turtle
48.  def heading(heading: Double): Unit

    Sets the value of the `heading` variable

    Sets the value of the `heading` variable

    Definition Classes
      Turtle → Turtle
49.  def heading(): Double

    Returns the value of the `heading` variable.

    Returns the value of the `heading` variable.

    Definition Classes
      Turtle → Turtle
50.  def headingPitchAndRoll(heading: Double, pitch: Double, roll: Double): Unit
51.  def hidden(hidden: Boolean): Unit
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
52.  def hidden(): Boolean

    Returns the value of the `hidden?` variable.

    Returns the value of the `hidden?` variable.

    Definition Classes
      Turtle3D → Turtle → Turtle
    Annotations
      @Override()
53.  def home(): Unit
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
54.  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
      Agent → Agent
55.  def id_=(newId: Long): Unit
    Definition Classes
      Agent
56.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
57.  def jump(distance: Double): Unit

    Moves the turtle forward distance as if the command `jump` were used

    Moves the turtle forward distance as if the command `jump` were used

    distance

      this amount to jump

    Definition Classes
      Turtle3D → Turtle → Turtle
    Annotations
      @Override()
58.  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
      Turtle → Agent
59.  def label(label: Any): Unit
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
60.  def label(): AnyRef
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
61.  def labelColor(labelColor: Double): Unit
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
62.  def labelColor(): AnyRef

    Returns the value of the `label-color` variable.

    Returns the value of the `label-color` variable.

    Definition Classes
      Turtle3D → Turtle → Turtle
    Annotations
      @Override()
63.  def labelColor(rgb: LogoList, valueIndex: Int): Unit
    Definition Classes
      Turtle
64.  def labelString(): String

    Returns the value of the `label` variable.

    Returns the value of the `label` variable.

    Definition Classes
      Turtle3D → Turtle → Turtle
    Annotations
      @Override()
65.  def lineThickness(): Double

    Returns the `line-thickness`.

    Returns the `line-thickness`.

    Definition Classes
      Turtle → Turtle
66.  def links(): Array[Link]
    Definition Classes
      Turtle
67.  def moveTo(otherAgent: Agent): Unit
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
68.  def moveToPatchCenter(): Unit
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
69.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
70.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
71.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
72.  def ownsVariable(name: String): Boolean
    Definition Classes
      Turtle
73.  def penMode(penMode: String): Unit
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
74.  def penMode(): String
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
75.  def penSize(penSize: Double): Unit
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
76.  def penSize(): Double
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
77.  def pitch(pitch: Double): Unit
78.  def pitch(): Double

    Returns the value of the `pitch` variable

    Returns the value of the `pitch` variable

    Definition Classes
      Turtle3D → Turtle3D
79.  def realloc(oldProgram: Program, newProgram: Program): Agent
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
80.  def removeLink(link: Link): Boolean
    Definition Classes
      Turtle
81.  def right(delta: Double): Array[Double]
82.  def roll(roll: Double): Unit
83.  def roll(): Double

    Returns the value of the `roll` variable

    Returns the value of the `roll` variable

    Definition Classes
      Turtle3D → Turtle3D
84.  def selectLinks(out: Boolean, in: Boolean, linkSet: AgentSet): Array[Link]
    Definition Classes
      Turtle
85.  def setBreed(breed: AgentSet): Unit

    This version of setBreed properly resets the global breed AgentSets Caller should ensure that the turtle isn't a link (links aren't allowed to change breed).

    This version of setBreed properly resets the global breed AgentSets Caller should ensure that the turtle isn't a link (links aren't allowed to change breed).

    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
86.  def setBreedVariable(name: String, value: Any): Unit
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
87.  def setId(id: Long): Unit
    Definition Classes
      Turtle → Agent
88.  def setLinkBreedVariable(name: String, value: Any): Unit
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
89.  def setLinkVariable(vn: Int, value: Double): Unit
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
90.  def setLinkVariable(vn: Int, value: Any): Unit
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
91.  def setPatchVariable(vn: Int, value: Double): Unit
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
92.  def setPatchVariable(vn: Int, value: Any): Unit
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
93.  def setTurtleOrLinkVariable(varName: String, value: Any): Unit
    Definition Classes
      Turtle → Agent
    Annotations
      @Override()
94.  def setTurtleVariable(vn: Int, value: Any): Unit
    Definition Classes
      Turtle3D → Turtle → Agent
    Annotations
      @Override()
95.  def setTurtleVariable(vn: Int, value: Double): Unit
    Definition Classes
      Turtle3D → Turtle → Agent
    Annotations
      @Override()
96.  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
      Turtle → Agent → Agent
    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

97.  def setVariables(v: Array[AnyRef]): Unit
    Definition Classes
      Agent
98.  def shape(shape: String): Unit
    Definition Classes
      Turtle3D → Turtle
    Annotations
      @Override()
99.  def shape(): String

    Returns the name of the current shape

    Returns the name of the current shape

    Definition Classes
      Turtle3D → Turtle → Turtle → Agent
    Annotations
      @Override()
100.  def shortestPathX(x: Double): Double
     Definition Classes
       Turtle
101.  def shortestPathY(y: Double): Double
     Definition Classes
       Turtle
102.  def shortestPathZ(z: Double): Double
103.  def size(size: Double): Unit
     Definition Classes
       Turtle3D → Turtle
     Annotations
       @Override()
104.  def size(): Double

     Returns the size of this agent

     Returns the size of this agent

     Definition Classes
       Turtle3D → Turtle → Agent
     Annotations
       @Override()
105.  final def synchronized[T0](arg0: ⇒ T0): T0
     Definition Classes
       AnyRef
106.  def toString(): String
     Definition Classes
       Turtle → AnyRef → Any
     Annotations
       @Override()
107.  def turnRight(delta: Double): Unit
     Definition Classes
       Turtle3D → Turtle
     Annotations
       @Override()
108.  def validRGBList(rgb: LogoList, allowAlpha: Boolean): Unit
     Definition Classes
       AgentColors
     Annotations
       @throws( classOf[AgentException] )
109.  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
       Turtle → Agent
110.  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
       Agent → Agent
111.  def variables_=(v: Array[AnyRef]): Unit
     Definition Classes
       Agent
112.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
113.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
114.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... ) @native()
115.  def world: World

     Returns the world object associated with this agent

     Returns the world object associated with this agent

     Definition Classes
       Agent → Agent
116.  def xandycor(xcor: Double, ycor: Double): Unit
     Definition Classes
       Turtle3D → Turtle
     Annotations
       @Override()
117.  def xandycor(xcor: Double, ycor: Double): Unit
     Definition Classes
       Turtle3D → Turtle
     Annotations
       @Override()
118.  def xandycor(xcor: Double, ycor: Double, seenTurtles: Set[Turtle], isJump: Boolean): Unit
     Definition Classes
       Turtle
119.  def xandycorHelper(xcor: Double, ycor: Double, seenTurtles: Set[Turtle], isJump: Boolean): Unit
     Definition Classes
       Turtle
120.  def xandycorHelper(xcor: Double, ycor: Double, isJump: Boolean): Unit
     Definition Classes
       Turtle
121.  def xcor(xcor: Double): Unit
     Definition Classes
       Turtle3D → Turtle
     Annotations
       @Override()
122.  def xcor(xcor: Double): Unit
     Definition Classes
       Turtle3D → Turtle
     Annotations
       @Override()
123.  def xcor(): Double

     Returns the value of the `xcor` variable.

     Returns the value of the `xcor` variable.

     Definition Classes
       Turtle → Turtle
124.  def xyandzcor(xcor: Double, ycor: Double, zcor: Double): Unit
125.  def xyandzcor(xcor: Double, ycor: Double, zcor: Double): Unit
126.  def ycor(ycor: Double): Unit
     Definition Classes
       Turtle3D → Turtle
     Annotations
       @Override()
127.  def ycor(ycor: Double): Unit
     Definition Classes
       Turtle3D → Turtle
     Annotations
       @Override()
128.  def ycor(): Double

     Returns the value of the `ycor` variable.

     Returns the value of the `ycor` variable.

     Definition Classes
       Turtle → Turtle
129.  def zcor(zcor: Double): Unit
130.  def zcor(zcor: Double): Unit
131.  def zcor(): Double

     Returns the value of the `zcor` variable

     Returns the value of the `zcor` variable

     Definition Classes
       Turtle3D → Turtle3D

### Inherited from api.Turtle3D

### Inherited from Agent3D

### Inherited from Turtle

### Inherited from AgentColors

### Inherited from api.Turtle

### Inherited from Agent

### Inherited from Comparable[Agent]

### Inherited from api.Agent

### Inherited from AgentJ

### Inherited from AnyRef

### Inherited from Any

### Ungrouped