Spc.MakeCuboid: Return a cuboid object, constructed from elementary spacial...

Description Usage Arguments Value See Also Examples

Description

Return a cuboid object, constructed from elementary spacial objects

Usage

1
Spc.MakeCuboid(centre, dimensions, properties = NA, bound = TRUE)

Arguments

centre

Centre of cuboid

dimensions

Basic dimensions of the cuboid, as a vector of length 3 in (x,y,z) dimensions.

properties

Package-independent object defining additional cuboid properties

Value

A compound cuboid 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.Combine, Spc.MakePlane, Spc.MakePolygon, Spc.MakeSphere, Spc.MakeTriangle

Examples

1
  w <- Spc.MakeCuboid(c(0,0,0), c(2,2,2), surface_props)

JerBoon/vecspace documentation built on May 26, 2019, 7:28 a.m.