GCTInstance class
One placement of a variant in the tile frame. The transform applied to a variant-frame point p is: scale by (SCALE_X, SCALE_Y, SCALE_Z), mirror per SYMMETRY, rotate by YAW_RAD about +Z, translate by (X_M, Y_M, Z_M). The aligned-binary INSTANCES section carries these fields in this order as float32.
Constructors
-
GCTInstance(List<
int> bytes) -
factory
Properties
- CLOUD_ID → int
-
Producer-stable identity of the cloud this instance belongs to, equal
across tiles, levels and valid times while the cloud persists — the
key a consumer fades and tracks by. 0 means unstated.
no setter
- cloudId → int
-
no setter
- CLUSTER_ID → int
-
Cluster the instance belongs to (a chain of cumulus, a tower), for
grouping; 0 means none.
no setter
- clusterId → int
-
no setter
- EROSION → double
-
Strength of the consumer's per-instance erosion and warp in
0, 1(0: the variant exactly as authored). Values above 2 select a shared deck gap field with hole fraction VALUE - 2, per the producer's convention stated in PRODUCER_NOTES.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- SCALE_X → double
-
Scale along the variant frame's axes; 1 is the variant as authored.
no setter
- SCALE_Y → double
-
no setter
- SCALE_Z → double
-
no setter
- scaleX → double
-
no setter
- scaleY → double
-
no setter
- scaleZ → double
-
no setter
- SHAPE_ERROR_M → double
-
Shape error, metres: the silhouette distance between this placement
and the cloud it stands in for. 0 means the instance IS the cloud (a
unique variant); a class stand-in placed for a chain of five cumulus
carries half the member spacing. A consumer that refines below the
shape error requests the unique variant.
no setter
- shapeErrorM → double
-
no setter
- SYMMETRY → int
-
One of eight axis mirror symmetries applied before the yaw: bit 0
mirrors x, bit 1 mirrors y, bit 2 swaps x and y.
no setter
- VARIANT → int
-
Index into GCT.VARIANTS.
no setter
- WIDTH_M → double
-
Width of the cloud as placed, metres, for size-dependent decisions.
no setter
- widthM → double
-
no setter
- X_M → double
-
Position of the variant's origin in the tile frame, metres east.
no setter
- xM → double
-
no setter
- Y_M → double
-
Metres north.
no setter
- YAW_RAD → double
-
Rotation about +Z, radians, counter-clockwise from east.
no setter
- yawRad → double
-
no setter
- yM → double
-
no setter
- Z_M → double
-
Metres up (above the tile's ENU origin).
no setter
- zM → double
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
reader
→ const Reader<
GCTInstance>