LavishNav:Aggregate (Region Type)

From Lavish Software Wiki
Revision as of 23:48, 7 May 2006 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Introduction

What is an Aggregate?

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

Aggregate Behaviors

Containment

An aggregate contains a given point if and only if any of its defined children contains that point.

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.

Examples

Example XML code

<Aggregate Name="My Aggregate" Unique="1">
   <X>123.456</X>
   <Y>456.789</Y>
   <Z>789</Z>
</Aggregate>

See Also