SceneNamedPoints PTΒΆ

scene.spad line 2207

Associates points or nodes in Scene structure with names (or a hierarchy of names). The aim is, where a point or node is used in several different constructions, it only needs to be specified once.

=: (%, %) -> Boolean
from BasicType
~=: (%, %) -> Boolean
from BasicType
addNode!: (%, String, Scene PT) -> %
addNode!(n, ptName, sc) adds a scene node.
addPoints!: (%, String, %) -> %
addPoints!(n, ptName, pts) adds a points node.
coerce: % -> OutputForm
from CoercibleTo OutputForm
findNode: (%, String) -> Scene PT
findNode(n, ptName) finds a scene node
findPoint: (%, String) -> PT
findPoint(n, ptName) find the point associated with a given string.
getNames: % -> List String
getNames(n) returns a list of names for this node
hash: % -> SingleInteger
from SetCategory
hashUpdate!: (HashState, %) -> HashState
from SetCategory
isNodeBranch?: % -> Boolean
isNodeBranch?(n) returns true if this is a branch.
isNodeLeaf?: % -> Boolean
isNodeLeaf?(n) returns true if this is a leaf which holds Scene nodes.
isPointLeaf?: % -> Boolean
isPointLeaf?(n) returns true if this is a pt node, that is, if this node contains points
latex: % -> String
from SetCategory
namedBranch: (List %, List String) -> %
namedBranch(chin, nmin) constructs a branch in the tree structure
namedPoints: (List PT, List String) -> %
namedPoints(ptin, nmin) constructs a list of named points.
namedPoints: (List Scene PT, List String) -> %
namedPoints(scin, nmin) constructs a list of named nodes.
toString: % -> String
toString(n) returns string representation for debug purposes.


CoercibleTo OutputForm