SceneNamedPoints PTΒΆ
scene.spad line 2200 [edit on github]
PT: SPointCategory
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.
- addPoints!: (%, String, %) -> %
addPoints!(n, ptName, pts)
adds a points node.
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- findPoint: (%, String) -> PT
findPoint(n, ptName)
find the point associated with a given string.
- isNodeBranch?: % -> Boolean
isNodeBranch?(n)
returnstrue
if this is a branch.
- isNodeLeaf?: % -> Boolean
isNodeLeaf?(n)
returnstrue
if this is a leaf which holds Scene nodes.
- isPointLeaf?: % -> Boolean
isPointLeaf?(n)
returnstrue
if this is apt
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 Scene PT, List String) -> %
namedPoints(scin, nmin)
constructs a list of named nodes.
- toString: % -> String
toString(n)
returns string representation for debug purposes.