DFLib
Release 1.0.0
|
Classes | |
class | arcpyPoint |
class | arcpyReport |
Variables | |
tuple | rc = DFLib.ReportCollection() |
tuple | LSfix = arcpyPoint(theSR) |
tuple | LSv = LSfix.getXY() |
tuple | LSu = LSfix.getUserCoords() |
tuple | FCAfix = arcpyPoint(theSR) |
tuple | FCA_stddev = DFLib.vectord(2) |
tuple | FCAv = FCAfix.getXY() |
tuple | FCAu = FCAfix.getUserCoords() |
tuple | MLfix = LSfix.Clone() |
tuple | MLv = MLfix.getXY() |
tuple | MLu = MLfix.getUserCoords() |
This simple Python script is meant to demonstrate how to use the DFLib python bindings with Point and Report classes implemented in Python. You do not have to build the C++ library version of DFLib to use this, only the Python library: python setup.py build_ext --inplace [--swig <path to swig>] This assumes you actually have installed swig, and are set up to compile C++ codes. This should create the DFLib python module.
tuple arcpyPoint.FCA_stddev = DFLib.vectord(2) |
tuple arcpyPoint.FCAfix = arcpyPoint(theSR) |
tuple arcpyPoint.FCAu = FCAfix.getUserCoords() |
tuple arcpyPoint.FCAv = FCAfix.getXY() |
tuple arcpyPoint.LSfix = arcpyPoint(theSR) |
tuple arcpyPoint.LSu = LSfix.getUserCoords() |
tuple arcpyPoint.LSv = LSfix.getXY() |
tuple arcpyPoint.MLfix = LSfix.Clone() |
tuple arcpyPoint.MLu = MLfix.getUserCoords() |
tuple arcpyPoint.MLv = MLfix.getXY() |
tuple arcpyPoint.rc = DFLib.ReportCollection() |