newpoint.spad line 101 [edit on github]
This domain is undocumented
addPoint(s, adds the 4 dimensional point indicated by the index location, li, i)i, to the 3 dimensional subspace, s. The list of non negative integers, li, dictates the path to follow, or, to look at it another way, points to the component in which the point is to be added. It's length should range from 0 to n - 1 where n is the dimension of the subspace. If the length is n - 1, then a specific lowest level component is being referenced. If it is less than n - 1, then some higher level component (0 indicates top level component) is being referenced and a component of that level with the desired point is created. The subspace s is returned with the additional point.
addPoint(s, adds the 4 dimensional point, li, p)p, to the 3 dimensional subspace, s. The list of non negative integers, li, dictates the path to follow, or, to look at it another way, points to the component in which the point is to be added. It's length should range from 0 to n - 1 where n is the dimension of the subspace. If the length is n - 1, then a specific lowest level component is being referenced. If it is less than n - 1, then some higher level component (0 indicates top level component) is being referenced and a component of that level with the desired point is created. The subspace s is returned with the additional point.
addPoint(s, p) adds the point, p, to the 3 dimensional subspace, s, and returns the new total number of points in s.
addPoint2(s, p) adds the 4 dimensional point, p, to the 3 dimensional subspace, s. The subspace s is returned with the additional point.
addPointLast(s, s2, adds the 4 dimensional point, li, p)p, to the 3 dimensional subspace, s. s2 point to the end of the subspace s. n is the path in the s2 component. The subspace s is returned with the additional point.
birth(x) is undocumented
child(x, n) is undocumented
children(x) is undocumented
closeComponent(s, sets the property of the component in the 3 dimensional subspace, li, b)s, to be closed if b is true, or open if b is false. The list of non negative integers, li, dictates the path to follow, or, to look at it another way, points to the component whose closed property is to be set. The subspace, s, is returned with the component property modification.
deepCopy(x) is undocumented
defineProperty(s, defines the component property in the 3 dimensional subspace, li, p)s, to be that of p, where p is of the domain SubSpaceComponentProperty. The list of non negative integers, li, dictates the path to follow, or, to look at it another way, points to the component whose property is being defined. The subspace, s, is returned with the component property definition.
extractClosed(s) returns the Boolean value of the closed property for the indicated 3 dimensional subspace s. If the property is closed, True is returned, otherwise False is returned.
extractIndex(s) returns a non negative integer which is the current index of the 3 dimensional subspace s.
extractPoint(s) returns the point which is given by the current index location into the point data field of the 3 dimensional subspace s.
extractProperty(s) returns the property of domain SubSpaceComponentProperty of the indicated 3 dimensional subspace s.
internal?(x) is undocumented
leaf?(x) is undocumented
level(s) returns a non negative integer which is the current level field of the indicated 3 dimensional subspace s.
merge(s1, s2) the subspaces s1 and s2 into a single subspace.
merge(ls) a list of subspaces, ls, into one subspace.
modifyPoint(s, replaces an existing point in the 3 dimensional subspace, li, i)s, with the 4 dimensional point indicated by the index location, i. The list of non negative integers, li, dictates the path to follow, or, to look at it another way, points to the component in which the existing point is to be modified. An error message occurs if s is empty, otherwise the subspace s is returned with the point modification.
modifyPoint(s, replaces an existing point in the 3 dimensional subspace, li, p)s, with the 4 dimensional point, p. The list of non negative integers, li, dictates the path to follow, or, to look at it another way, points to the component in which the existing point is to be modified. An error message occurs if s is empty, otherwise the subspace s is returned with the point modification.
modifyPoint(s, ind, p) modifies the point referenced by the index location, ind, by replacing it with the point, p in the 3 dimensional subspace, s. An error message occurs if s is empty, otherwise the subspace s is returned with the point modification.
new() is undocumented
numberOfChildren(x) is undocumented
parent(s) returns the subspace which is the parent of the indicated 3 dimensional subspace s. If s is the top level subspace an error message is returned.
pointData(s) returns the list of points from the point data field of the 3 dimensional subspace s.
root?(x) is undocumented
separate(s) makes each of the components of the SubSpace, s, into a list of separate and distinct subspaces and returns the list.
shallowCopy(x) is undocumented
subspace() is undocumented
traverse(s, follows the branch list of the 3 dimensional subspace, li)s, along the path dictated by the list of non negative integers, li, which points to the component which has been traversed to. The subspace, s, is returned, where s is now the subspace pointed to by li.