DrawOptionFunctions0

drawopt.spad line 219 [edit on github]

This package is undocumented

adaptive : (List(DrawOption), Boolean) -> Boolean

adaptive(l, b) takes the list of draw options, l, and checks the list to see if it contains the option adaptive. If the option does not exist the value, b is returned.

clipBoolean : (List(DrawOption), Boolean) -> Boolean

clipBoolean(l, b) takes the list of draw options, l, and checks the list to see if it contains the option clipBoolean. If the option does not exist the value, b is returned.

coord : (List(DrawOption), Mapping(Point(DoubleFloat), Point(DoubleFloat))) -> Mapping(Point(DoubleFloat), Point(DoubleFloat))

coord(l, p) takes the list of draw options, l, and checks the list to see if it contains the option coord. If the option does not exist the value, p is returned.

curveColorPalette : (List(DrawOption), Palette) -> Palette

curveColorPalette(l, p) takes the list of draw options, l, and checks the list to see if it contains the option curveColorPalette. If the option does not exist the value, p is returned.

pointColorPalette : (List(DrawOption), Palette) -> Palette

pointColorPalette(l, p) takes the list of draw options, l, and checks the list to see if it contains the option pointColorPalette. If the option does not exist the value, p is returned.

ranges : (List(DrawOption), List(Segment(Float))) -> List(Segment(Float))

ranges(l, r) takes the list of draw options, l, and checks the list to see if it contains the option ranges. If the option does not exist the value, r is returned.

space : List(DrawOption) -> ThreeSpace(DoubleFloat)

space(l) takes a list of draw options, l, and checks to see if it contains the option space. If the option doesn't exist, then an empty space is returned.

style : (List(DrawOption), String) -> String

style(l, s) takes the list of draw options, l, and checks the list to see if it contains the option style. If the option does not exist the value, s is returned.

title : (List(DrawOption), String) -> String

title(l, s) takes the list of draw options, l, and checks the list to see if it contains the option title. If the option does not exist the value, s is returned.

toScale : (List(DrawOption), Boolean) -> Boolean

toScale(l, b) takes the list of draw options, l, and checks the list to see if it contains the option toScale. If the option does not exist the value, b is returned.

tubePoints : (List(DrawOption), PositiveInteger) -> PositiveInteger

tubePoints(l, n) takes the list of draw options, l, and checks the list to see if it contains the option tubePoints. If the option does not exist the value, n is returned.

tubeRadius : (List(DrawOption), Float) -> Float

tubeRadius(l, n) takes the list of draw options, l, and checks the list to see if it contains the option tubeRadius. If the option does not exist the value, n is returned.

units : (List(DrawOption), List(Float)) -> List(Float)

units(l, u) takes the list of draw options, l, and checks the list to see if it contains the option unit. If the option does not exist the value, u is returned.

var1Steps : (List(DrawOption), PositiveInteger) -> PositiveInteger

var1Steps(l, n) takes the list of draw options, l, and checks the list to see if it contains the option var1Steps. If the option does not exist the value, n is returned.

var2Steps : (List(DrawOption), PositiveInteger) -> PositiveInteger

var2Steps(l, n) takes the list of draw options, l, and checks the list to see if it contains the option var2Steps. If the option does not exist the value, n is returned.

viewpoint : (List(DrawOption), Record(theta : DoubleFloat, phi : DoubleFloat, scale : DoubleFloat, scaleX : DoubleFloat, scaleY : DoubleFloat, scaleZ : DoubleFloat, deltaX : DoubleFloat, deltaY : DoubleFloat)) -> Record(theta : DoubleFloat, phi : DoubleFloat, scale : DoubleFloat, scaleX : DoubleFloat, scaleY : DoubleFloat, scaleZ : DoubleFloat, deltaX : DoubleFloat, deltaY : DoubleFloat)

viewpoint(l, ls) takes the list of draw options, l, and checks the list to see if it contains the option viewpoint. IF the option does not exist, the value ls is returned.