ARRAY2D structure

Declared in: GeoTransformers.h

Multiple 2D points that share the same Z value. Could be referring to image, film, camera, ground-plane coordinates or any other 2D space (usually cartesian).

[C / C++]

typedef struct {

DWORD pntNo; // number of stored points

VERTEX2D * XYs; // two dimensional points

double Z; // common Z-coordinate of the 2D points

} ARRAY2D;

Collaboration diagram:

ARRAY2D

Collaboration graph for ARRAY2D structure

Members

pntNo

Number of points that can be stored in the encapsulated array. Do not change this member for an output package.

XYs

Encapsulated array of 2D points. For an output package, do not change the value of the pointer, but only the array's content.

Z

Common Z-coordinate for all the 2D points in the encapsulated array.

Requirements

Platform

32 bit Windows OS

Environment

ANSI C / C++ Standard compliant

Example

For a detailed example using this structure, please see Custom GeoTransformer VC++ Sample.

Related Topics

Referenced By: GeoTransData::GTD

References: VERTEX2D