Description Usage Arguments Value See Also Examples
Return a dodecahedron object, constructed from elementary spacial objects
1 2 | Spc.MakeDodecahedron(centre, radius, properties = NA, bound = TRUE,
align.to = "x")
|
centre |
Centre of dodecahedron |
radius |
Is the nominal size from the centre to each vertex. So the radius of the smallest sphere containing the object. |
properties |
Package-independent object defining additional properties |
bound |
Include a bounding sphere? Default=TRUE |
align.to |
Name of axis to align to - i.e. 2 surfaces will be level in that plane. Default = "x" |
A compound object, comprising of elementary triangle objects in a grouped hierarchical object, with a surrounding bounding sphere used for spacial indexing.
Other constructors: Spc.MakeTeapotahedron
1 | w <- Spc.MakeDodecahedron(c(0,0,0), 10, surface_props)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.