Spc.MakeDodecahedron: Return a dodecahedron object, constructed from elementary...

Description Usage Arguments Value See Also Examples

Description

Return a dodecahedron object, constructed from elementary spacial objects

Usage

1
2
Spc.MakeDodecahedron(centre, radius, properties = NA, bound = TRUE,
  align.to = "x")

Arguments

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"

Value

A compound object, comprising of elementary triangle objects in a grouped hierarchical object, with a surrounding bounding sphere used for spacial indexing.

See Also

Other constructors: Spc.MakeTeapotahedron

Examples

1
  w <- Spc.MakeDodecahedron(c(0,0,0), 10, surface_props)

JerBoon/vecshapes documentation built on May 17, 2019, 6:20 p.m.