TurtleStamp3D

org.nlogo.agent.TurtleStamp3D
case class TurtleStamp3D(shape: String, xcor: Double, ycor: Double, zcor: Double, size: Double, heading: Double, pitch: Double, roll: Double, color: AnyRef, lineThickness: Double) extends TurtleStamp3D

Attributes

Source
TurtleStamp3D.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Turtle3D
trait Turtle
trait Agent
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(t: Turtle3D)

Attributes

Source
TurtleStamp3D.scala

Concrete methods

override def alpha: Int

0-255, 0 = invisible, 255 = opaque

0-255, 0 = invisible, 255 = opaque

Attributes

Definition Classes
Source
TurtleStamp3D.scala
override 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)

Attributes

Definition Classes
Source
TurtleStamp3D.scala
override def dx: Double

Returns the x component of the forward vector

Returns the x component of the forward vector

Attributes

Definition Classes
Source
TurtleStamp3D.scala
override def dy: Double

Returns the y component of the forward vector

Returns the y component of the forward vector

Attributes

Definition Classes
Source
TurtleStamp3D.scala
override def dz: Double

Returns the z component of the forward vector

Returns the z component of the forward vector

Attributes

Definition Classes
Source
TurtleStamp3D.scala
override def getBreed: AgentSet

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

Definition Classes
Source
TurtleStamp3D.scala
override def getBreedIndex: Int

Returns the index of this turtle's breed.

Returns the index of this turtle's breed.

Attributes

Definition Classes
Source
TurtleStamp3D.scala
override def getPatchHere: Patch

Returns the patch that this turtle is on.

Returns the patch that this turtle is on.

Attributes

Definition Classes
Source
TurtleStamp3D.scala
override 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

Definition Classes
Source
TurtleStamp3D.scala
override 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.

Attributes

Definition Classes
Source
TurtleStamp3D.scala
override 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

Definition Classes
Source
TurtleStamp3D.scala
override def hidden: Boolean

Returns the value of the hidden? variable.

Returns the value of the hidden? variable.

Attributes

Definition Classes
Source
TurtleStamp3D.scala
override 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

Definition Classes
Source
TurtleStamp3D.scala
override def jump(d: 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

Definition Classes
Source
TurtleStamp3D.scala
override def labelColor: AnyRef

Returns the value of the label-color variable.

Returns the value of the label-color variable.

Attributes

Definition Classes
Source
TurtleStamp3D.scala
override def labelString: String

Returns the value of the label variable.

Returns the value of the label variable.

Attributes

Definition Classes
Source
TurtleStamp3D.scala
override 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

Definition Classes
Source
TurtleStamp3D.scala
override 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

Definition Classes
Source
TurtleStamp3D.scala
override def world: World

Returns the world object associated with this agent

Returns the world object associated with this agent

Attributes

Definition Classes
Source
TurtleStamp3D.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

override val kind: AgentKind

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

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

Attributes

Source
TurtleStamp3D.scala