Пример #1
0
 private CameraUpdate(
     Space.LatLong target,
     double targetElevation,
     Space.ElevationMode targetElevationMode,
     string targetIndoorMapId,
     int targetIndoorMapFloorId,
     double distance,
     double tilt,
     double bearing,
     bool modifyTarget,
     bool modifyElevation,
     bool modifyElevationMode,
     bool modifyIndoor,
     bool modifyDistance,
     bool modifyTilt,
     bool modifyBearing
     )
 {
     this.target                 = target;
     this.targetElevation        = targetElevation;
     this.targetElevationMode    = targetElevationMode;
     this.targetIndoorMapId      = targetIndoorMapId;
     this.targetIndoorMapFloorId = targetIndoorMapFloorId;
     this.distance               = distance;
     this.tilt                = tilt;
     this.bearing             = bearing;
     this.modifyTarget        = modifyTarget;
     this.modifyElevation     = modifyElevation;
     this.modifyElevationMode = modifyElevationMode;
     this.modifyIndoor        = modifyIndoor;
     this.modifyDistance      = modifyDistance;
     this.modifyTilt          = modifyTilt;
     this.modifyBearing       = modifyBearing;
 }
Пример #2
0
 public static LatLongInterop ToLatLongInterop(this Space.LatLong ll)
 {
     return(new LatLongInterop
     {
         LatitudeDegrees = ll.GetLatitude(),
         LongitudeDegrees = ll.GetLongitude(),
     });
 }
Пример #3
0
 /// <summary>
 /// For a polyline path, calculates the point on the polyline that is closest to a query point.
 /// </summary>
 /// <param name="inputPoint">The input query point.</param>
 /// <param name="polylinePathPoints">Points representing the path polyline vertices.</param>
 /// <returns>A results structure providing information about the point on the polyline path that is closest to inputPoint. </returns>
 public PointOnPath GetPointOnPath(Space.LatLong inputPoint, List <Space.LatLong> polylinePathPoints)
 {
     return(m_apiInternal.GetPointOnPath(inputPoint, polylinePathPoints));
 }
Пример #4
0
 public Builder Target(Space.LatLong latLon)
 {
     this.m_target = new Space.LatLong(latLon.GetLatitude(), latLon.GetLongitude());
     return(this);
 }