Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/CreateRangeFanBoxes.py   defense-and-intel-analysis-toolbox(Download)
 
        # from llPoint go fanRange by bearing
        ulX = llPoint.X + (fanRange * math.cos(math.radians(Geo2Arithmetic(bearing))))
        ulY = llPoint.Y + (fanRange * math.sin(math.radians(Geo2Arithmetic(bearing))))
        ulPoint = arcpy.Point(ulX,ulY)
        boxArray.add(ulPoint)        
 
        # from ulPoint go width by negative crossbearing
        urX = ulPoint.X + (width * math.cos(math.radians(Geo2Arithmetic(rightBearing))))
 
        # from urPoint go fanRange by negative bearing
        lrX = urPoint.X + (fanRange * math.cos(math.radians(Geo2Arithmetic(backBearing))))
        lrY = urPoint.Y + (fanRange * math.sin(math.radians(Geo2Arithmetic(backBearing))))
        lrPoint = arcpy.Point(lrX,lrY)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFansByFeature.py   defense-and-intel-analysis-toolbox(Download)
        feat = row.getValue(shapefieldname)
        pnt = feat.getPart()
        centerPointX = pnt.X
        centerPointY = pnt.Y
        range = row.getValue(rangeField)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFanByBearingLimits.py   defense-and-intel-analysis-toolbox(Download)
        feat = row.getValue(shapefieldname)
        pnt = feat.getPart()
        centerPointX = pnt.X
        centerPointY = pnt.Y
        centerPoints.append([centerPointX,centerPointY])

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFanByBearingAndTraversal.py   defense-and-intel-analysis-toolbox(Download)
            feat = row.getValue(shapefieldname)
            pnt = feat.getPart()
            centerPointX = pnt.X
            centerPointY = pnt.Y
            centerPoints.append([centerPointX,centerPointY])

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFan.py   defense-and-intel-analysis-toolbox(Download)
            feat = row.getValue(shapefieldname)
            pnt = feat.getPart()
            centerPointX = pnt.X
            centerPointY = pnt.Y
            centerPoints.append([centerPointX,centerPointY])