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

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

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/FM5-33CCM.py   defense-and-intel-analysis-toolbox(Download)
            rndPt = row[1]
            # if I'm right this is how we add a multipart line feature
            diagArray1 = arcpy.Array([arcpy.Point(rndPt[0] - offset,rndPt[1] + offset),arcpy.Point(rndPt[0] + offset,rndPt[1] - offset)])
            diagArray2 = arcpy.Array([arcpy.Point(rndPt[0] - offset,rndPt[1] - offset),arcpy.Point(rndPt[0] + offset,rndPt[1] + offset)])
            diagArray = arcpy.Array([diagArray1,diagArray2])

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFan.py   defense-and-intel-analysis-toolbox(Download)
        cur = arcpy.InsertCursor(outFeature)
        for outPath in paths:
            lineArray = arcpy.Array()
            for vertex in outPath:
                pnt = arcpy.Point()

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFanByBearingAndTraversal.py   defense-and-intel-analysis-toolbox(Download)
        cur = arcpy.InsertCursor(tempFans)
        for outPath in paths:
            lineArray = arcpy.Array()
            for vertex in outPath:
                pnt = arcpy.Point()

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFanByBearingLimits.py   defense-and-intel-analysis-toolbox(Download)
    cur = arcpy.InsertCursor(tempFans)
    for outPath in paths:
        lineArray = arcpy.Array()
        for vertex in outPath:
            pnt = arcpy.Point()

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/CreateRangeFanBoxes.py   defense-and-intel-analysis-toolbox(Download)
 
        # find box coordinates
        boxArray = arcpy.Array()      
 
        # from start point go half width by crossbearing

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFansByFeature.py   defense-and-intel-analysis-toolbox(Download)
        if traversal < 360: path.append([centerPointX,centerPointY])
 
        lineArray = arcpy.Array()
 
        for vertex in path:

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/Trajectory_Path.py   defense-and-intel-analysis-toolbox(Download)
        if debug == True: arcpy.AddMessage("Starting observer OID: " + str(obsOID))
        path = []
        pathArray = arcpy.Array() # this is giong to be the array storing the points that become each path polyline
        coordTriple = observersWebMerc[obsOID]
        longitudeOfObserver = coordTriple[0]

src/p/o/polar_grid-0.1/polar_grid/polar_grid.py   polar_grid(Download)
    """
    point = arcpy.Point() # Empty point object
    array = arcpy.Array() # Empty array object
 
    feature_list = [] # A list that will hold each of the radial divider objects