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

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

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/Trajectory_Path.py   defense-and-intel-analysis-toolbox(Download)
 
                path.append([x,y,z,t])
                pathArray.append(arcpy.Point(x,y,z,t)) # add the point to the path array
 
                # compare if the path-point's Z is below the surface, if so stop adding points.
            tHalf = TimeToRange(maxHeight)
            path.append([x,y,z,0.0])
            pathArray.append(arcpy.Point(x,y,z,0.0))
            path.append([x,y,z + maxHeight,tHalf])
            pathArray.append(arcpy.Point(x,y,z + maxHeight,tHalf))
            path.append([x,y,z,2 * tHalf])
            pathArray.append(arcpy.Point(x,y,z,2 * tHalf))