LinkStamp3D

org.nlogo.agent.LinkStamp3D
case class LinkStamp3D(shape: String, x1: Double, y1: Double, z1: Double, x2: Double, y2: Double, z2: Double, color: AnyRef, lineThickness: Double, isDirectedLink: Boolean, linkDestinationSize: Double, heading: Double, pitch: Double) extends LinkStamp3D

Attributes

Source
LinkStamp3D.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait LinkStamp3D
trait Link3D
trait Link
trait Agent
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(l: Link3D)

Attributes

Source
LinkStamp3D.scala

Concrete methods

override def alpha: Int

0-255, 0 = invisible, 255 = opaque

0-255, 0 = invisible, 255 = opaque

Attributes

Definition Classes
Source
LinkStamp3D.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
LinkStamp3D.scala
override def end1: Turtle

Returns the first end point of this link. If the link is directed this is the source turtle if the link is undirected it is the turtle with the lower who number.

Returns the first end point of this link. If the link is directed this is the source turtle if the link is undirected it is the turtle with the lower who number.

Attributes

Definition Classes
Source
LinkStamp3D.scala
override def end2: Turtle

Returns the second end point of this link. If the link is directed this is the destination turtle if the link is undirected it is the turtle with the higher who number.

Returns the second end point of this link. If the link is directed this is the destination turtle if the link is undirected it is the turtle with the higher who number.

Attributes

Definition Classes
Source
LinkStamp3D.scala
override def getBreed: AgentSet

Returns the breed AgentSet associated with this link. Iif the link is unbreeded returns the all links AgentSet.

Returns the breed AgentSet associated with this link. Iif the link is unbreeded returns the all links AgentSet.

Attributes

Definition Classes
Source
LinkStamp3D.scala
override def getBreedIndex: Int

Returns the index of the breed of this link.

Returns the index of the breed of this link.

Attributes

Definition Classes
Source
LinkStamp3D.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
LinkStamp3D.scala
override def hasLabel: Boolean

Returns true if there is a value in the label variable.

Returns true if there is a value in the label variable.

Attributes

Definition Classes
Source
LinkStamp3D.scala
override def hidden: Boolean

Returns the value of the hidden? variable.

Returns the value of the hidden? variable.

Attributes

Definition Classes
Source
LinkStamp3D.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
LinkStamp3D.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
LinkStamp3D.scala
override def labelString: String

Returns the value of the label variable.

Returns the value of the label variable.

Attributes

Definition Classes
Source
LinkStamp3D.scala
override def midpointX: Double

Returns the x-coordinate of the midpoint of this link taking wrapping in account.

Returns the x-coordinate of the midpoint of this link taking wrapping in account.

Attributes

Definition Classes
Source
LinkStamp3D.scala
override def midpointY: Double

Returns the y-coordinate of the midpoint of this link taking wrapping in account.

Returns the y-coordinate of the midpoint of this link taking wrapping in account.

Attributes

Definition Classes
Source
LinkStamp3D.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
LinkStamp3D.scala
override def size: Double

Returns the size of this agent

Returns the size of this agent

Attributes

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