protected virtual bool GetCellDatumData(CellDatumRequest request, out TCellProductionData data) { var raptorFilter = RaptorConverters.ConvertFilter(request.Filter, request.ProjectId, raptorClient); return(raptorClient.GetCellProductionData (request.ProjectId ?? VelociraptorConstants.NO_PROJECT_ID, (int)RaptorConverters.convertDisplayMode(request.DisplayMode), request.GridPoint?.x ?? 0, request.GridPoint?.y ?? 0, request.LLPoint != null ? RaptorConverters.ConvertWGSPoint(request.LLPoint) : new TWGS84Point(), request.LLPoint == null, raptorFilter, RaptorConverters.ConvertLift(request.LiftBuildSettings, raptorFilter.LayerMethod), RaptorConverters.DesignDescriptor(request.Design), out data)); }
private TCoordPointList GetGridCoordinates(long projectId, WGSPoint latLon) { var latLongs = new TWGS84FenceContainer { FencePoints = new [] { RaptorConverters.ConvertWGSPoint(latLon) } }; var code = raptorClient.GetGridCoordinates ( projectId, latLongs, TCoordConversionType.ctLLHtoNEE, out var pointList ); if (code != TCoordReturnCode.nercNoError || pointList.Points.Coords == null || pointList.Points.Coords.Length == 0) { throw CreateServiceException <CompactionCellDatumExecutor>((int)code); } return(pointList); }