Spc.Combine: Return an object from a list of other objects

Description Usage Arguments Value See Also Examples

Description

Return an object from a list of other objects

Usage

1
Spc.Combine(objects, properties = NA, bound = TRUE)

Arguments

objects

A list of sub-objects

properties

Package-independent object defining additional properties. Default NA

bound

Should a bounding sphere be added to the new object? Default = TRUE

Value

Returns a compound object consisting of the objects passed to it. The function constructs an object and assigns it the necessary properties for the package to recognise it as such.

See Also

Other constructors: Spc.MakeCuboid, Spc.MakePlane, Spc.MakePolygon, Spc.MakeSphere, Spc.MakeTriangle

Examples

1
  world <- Spc.Combine(list(my_table, my_chairs), "dining area", TRUE)

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