ArcGIS Explorer Component Help |
Viewpoint Constructor (Point, Point) |
Viewpoint Class See Also |
Initializes a new instance of the Viewpoint class using a pair of points, representing an observer position and a target location.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public Viewpoint( Point observer, Point target ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ observer As Point, _ target As Point _ ) |
Parameters
- observer
- Type: ESRI.ArcGISExplorer.Geometry..::.Point
A Point representing the position that you are looking from.
- target
- Type: ESRI.ArcGISExplorer.Geometry..::.Point
A Point representing the location you are looking at.
Remarks
Use this constructor to store a viewpoint in 3D display mode. Storing a 3D viewpoint relies on two points:
- The observer: the position that you are looking from- where the Z value of the point represents the observers altitude.
- The target: the location you are looking at- a point, usually on the globe surface.