MCPcopy Create free account
hub / github.com/bengolder/python-geometry / __getitem__

Method __getitem__

geometry/points.py:51–66  ·  view source on GitHub ↗

This builds a dictionary / list-like api on the PointSet. The `key` might be an integer or a coordinate tuple, or a point. There is a design question here: should it initialize the object as a Point3d? An if Point3ds are already hashable, why am I using simple tuple

(self, key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected