DFLib
Release 1.0.0
|
Classes | |
class | pyProjPoint |
class | pyProjReport |
Variables | |
tuple | rc = DFLib.ReportCollection() |
tuple | LSfix = pyProjPoint() |
tuple | LSv = LSfix.getXY() |
tuple | LSu = LSfix.getUserCoords() |
tuple | FCAfix = pyProjPoint() |
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. This script also assumes you have installed the "pyproj" module from http://jswhit.github.io/pyproj/ or via your system's package management system.
tuple pyProjPoint.FCA_stddev = DFLib.vectord(2) |
tuple pyProjPoint.FCAfix = pyProjPoint() |
tuple pyProjPoint.FCAu = FCAfix.getUserCoords() |
tuple pyProjPoint.FCAv = FCAfix.getXY() |
tuple pyProjPoint.LSfix = pyProjPoint() |
tuple pyProjPoint.LSu = LSfix.getUserCoords() |
tuple pyProjPoint.LSv = LSfix.getXY() |
tuple pyProjPoint.MLfix = LSfix.Clone() |
tuple pyProjPoint.MLu = MLfix.getUserCoords() |
tuple pyProjPoint.MLv = MLfix.getXY() |
tuple pyProjPoint.rc = DFLib.ReportCollection() |