IWorldPointInfo80

This interface gives you information about a specific point in the 3D World.

 

 

Properties

 

ObjectID

Gets the ID of an object at a specific point.

Position

An IPosition80 representing the position and orientation of the point on the terrain.

Type

Gets the type of object at the specific 3D World point.

ObjectID

Gets the ID of an object at a specific point.

 

JavaScript

 

ObjectID

 

C#

 

string ObjectID { get; }

 

C++

 

HRESULT ObjectID([out, retval] BSTR* pVal)

Type

Gets the type of object at the specific 3D World point.

The following are the possible values for this property:

§   WPT_TERRAIN = 0

§   WPT_MODEL = 1

§   WPT_LABEL = 2

§   WPT_PRIMITIVE = 4

§   WPT_ANIM = 8

§   WPT_BUILDING = 16

§   WPT_SKY = 32

§   WPT_ACCURATE_CPT = 64

§   WPT_BBOX_CPT = 128

§   WPT_VIDEO = 256

§   WPT_UNDERGROUND = 512

§   WPT_SCREEN_OVERLAY = 1024

§   WPT_SCREEN_CONTROL = 2048

§   WPT_SCREEN_COVERED = 4096

§   WPT_3DML = 8192

§   WPT_DEFAULT = -1

 

JavaScript

 

Type

 

C#

 

WorldPointType Type { get; }

 

C++

 

HRESULT Type([out, retval] WorldPointType* pVal)