LavishNav:Aggregate (Region Type)

From Lavish Software Wiki
Jump to navigation Jump to search


What is an Aggregate?

An aggregate is exactly like a universe, but with a different behavior for containment.

Aggregate Behaviors


An aggregate contains a given point if and only if any of its defined children contains that point. Aggregates should be used sparingly due to this fact, and at the very least, with a very small set of children. Aggregate children of aggregates would be especially bad.

Nearest Point

The nearest point within this region to any given point is the given point.

Center Point

The center point of an aggregate is its defined location.

Aggregate Characteristics

Aggregates are descendants of the base region type. Any characteristics of the base region type may be applied in addition to the aggregate-specific characteristics described below.

Aggregate-Specific Properties

  • X
X-coordinate. Defaults to 0.
  • Y
Y-coordinate. Defaults to 0.
  • Z
Z-coordinate. Defaults to 0.

Programming with aggregates

lnavaggregate Object Type
Aggregate class


Example XML code

<Aggregate Name="My Aggregate" Unique="1">

See Also