CoordSystem Enumeration
Coordinate system types
extensions
Members
Name | Value | Description |
---|---|---|
View | 0 | Coordinates are relative to the origin of the viewing rectangle. x and y values correspond to pixels within that rectangle, with (x=0,y=0) corresponding to the top-left corner. |
Npc | 1 | Coordinates are in Normalized Plane Coordinates. NPC is a coordinate system for frustums in which each dimension [x,y,z] is normalized to hold values between 0.0 and 1.0. [0,0,0] corresponds to the left-bottom-rear and [1,1,1] to the right-top-front of the frustum. |
World | 2 | Coordinates are in the coordinate system of the models in the view. For SpatialViews, this is the iModel's spatial coordinate system. For 2d views, it is the coordinate system of the GeometricModel2d that the view shows. |
Defined in
- core/frontend/src/CoordSystem.ts Line 13
Last Updated: 30 November, 2023