TurtleStamp3D

org.nlogo.api.TurtleStamp3D
trait TurtleStamp3D extends Turtle3D

Attributes

Source
TurtleStamp3D.scala
Graph
Supertypes
trait Turtle3D
trait Turtle
trait Agent
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Inherited and Abstract methods

def alpha: Int

0-255, 0 = invisible, 255 = opaque

0-255, 0 = invisible, 255 = opaque

Attributes

Inherited from:
Agent
Source
Agent.scala

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)

Attributes

Inherited from:
Agent
Source
Agent.scala
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.

Attributes

Inherited from:
Turtle
Source
Turtle.scala
def dx: Double

Returns the x component of the forward vector

Returns the x component of the forward vector

Attributes

Inherited from:
Turtle3D
Source
Turtle3D.scala
def dy: Double

Returns the y component of the forward vector

Returns the y component of the forward vector

Attributes

Inherited from:
Turtle3D
Source
Turtle3D.scala
def dz: Double

Returns the z component of the forward vector

Returns the z component of the forward vector

Attributes

Inherited from:
Turtle3D
Source
Turtle3D.scala

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.

Attributes

Inherited from:
Turtle
Source
Turtle.scala

Returns the index of this turtle's breed.

Returns the index of this turtle's breed.

Attributes

Inherited from:
Turtle
Source
Turtle.scala

Returns the patch that this turtle is on.

Returns the patch that this turtle is on.

Attributes

Inherited from:
Turtle
Source
Turtle.scala
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

Value parameters

vn

the index into the agent variable array

Attributes

Inherited from:
Agent
Source
Agent.scala

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

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

Attributes

Inherited from:
Turtle
Source
Turtle.scala
def heading(d: Double): Unit

Sets the value of the heading variable

Sets the value of the heading variable

Value parameters

d

the new heading

Attributes

Inherited from:
Turtle
Source
Turtle.scala

Returns the value of the heading variable.

Returns the value of the heading variable.

Attributes

Inherited from:
Turtle
Source
Turtle.scala

Returns the value of the hidden? variable.

Returns the value of the hidden? variable.

Attributes

Inherited from:
Turtle
Source
Turtle.scala
def id: Long

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

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

Attributes

Inherited from:
Agent
Source
Agent.scala
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

Value parameters

distance

this amount to jump

Attributes

Inherited from:
Turtle
Source
Turtle.scala

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

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

Attributes

Inherited from:
Agent
Source
Agent.scala
def labelColor: AnyRef

Returns the value of the label-color variable.

Returns the value of the label-color variable.

Attributes

Inherited from:
Turtle
Source
Turtle.scala

Returns the value of the label variable.

Returns the value of the label variable.

Attributes

Inherited from:
Turtle
Source
Turtle.scala

Returns the line-thickness.

Returns the line-thickness.

Attributes

Inherited from:
Turtle
Source
Turtle.scala
def pitch: Double

Returns the value of the pitch variable

Returns the value of the pitch variable

Attributes

Inherited from:
Turtle3D
Source
Turtle3D.scala
def roll: Double

Returns the value of the roll variable

Returns the value of the roll variable

Attributes

Inherited from:
Turtle3D
Source
Turtle3D.scala
def setVariable(vn: Int, value: AnyRef): 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

Value parameters

value

the new value for the variable

vn

the index into the agent variable array

Attributes

Throws
api.AgentException

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

Inherited from:
Agent
Source
Agent.scala
def shape: String

Returns the name of the current shape

Returns the name of the current shape

Attributes

Inherited from:
Turtle
Source
Turtle.scala
def size: Double

Returns the size of this agent

Returns the size of this agent

Attributes

Inherited from:
Agent
Source
Agent.scala
def variables: Array[AnyRef]

Returns raw array of all agent variables. Warning: this method is liable to change return type in a future API version.

Returns raw array of all agent variables. Warning: this method is liable to change return type in a future API version.

Attributes

Inherited from:
Agent
Source
Agent.scala
def world: World

Returns the world object associated with this agent

Returns the world object associated with this agent

Attributes

Inherited from:
Agent
Source
Agent.scala
def xcor: Double

Returns the value of the xcor variable.

Returns the value of the xcor variable.

Attributes

Inherited from:
Turtle
Source
Turtle.scala
def ycor: Double

Returns the value of the ycor variable.

Returns the value of the ycor variable.

Attributes

Inherited from:
Turtle
Source
Turtle.scala
def zcor: Double

Returns the value of the zcor variable

Returns the value of the zcor variable

Attributes

Inherited from:
Turtle3D
Source
Turtle3D.scala