Commit 3c472772 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[python][constraints] add docu

parent e92e1610
......@@ -37,7 +37,7 @@ namespace py = pybind11;
namespace Detail {
// Wrapper class to resolve overload issues for evaluate()
// Wrapper class to provide compatibility with shape wrapper classes
template<class ST>
class EntityNetworkConstraintsWrapper
: public EntityNetworkConstraints<ST>
......@@ -3,7 +3,14 @@ from ._entitynetwork import *
class EntityNetworkConstraints(_entitynetwork._EntityNetworkConstraints):
def evaluate(self, a, b):
Evaluates the constraints between the arguments a and b, both being
either an instance of a geometry class or a list of geometry classes.
a: a geometry or list of geometries
b: a geometry or list of geometries
isListA = isinstance(a, list)
isListB = isinstance(b, list)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment