示例#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;
 }
 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);
 }