Peano
Loading...
Searching...
No Matches
tarch.plotter.api.output.PointProbe.PatchContainsPoint Class Reference

Patch filter (. More...

Public Member Functions

 __init__ (self, point, tolerance)
 __call__ (self, offset, size)

Data Fields

 point = point
 tolerance = tolerance

Detailed Description

Patch filter (.

See also
PatchFileParser.patch_filter) which accepts only patches whose closed bounding box contains a given point

It is a class rather than a lambda, as it has to be picklable when we farm snapshots out to worker processes.

Definition at line 15 of file PointProbe.py.

Constructor & Destructor Documentation

◆ __init__()

tarch.plotter.api.output.PointProbe.PatchContainsPoint.__init__ ( self,
point,
tolerance )

Definition at line 24 of file PointProbe.py.

Member Function Documentation

◆ __call__()

tarch.plotter.api.output.PointProbe.PatchContainsPoint.__call__ ( self,
offset,
size )

Field Documentation

◆ point

tarch.plotter.api.output.PointProbe.PatchContainsPoint.point = point

Definition at line 25 of file PointProbe.py.

Referenced by __call__().

◆ tolerance

tarch.plotter.api.output.PointProbe.PatchContainsPoint.tolerance = tolerance

Definition at line 26 of file PointProbe.py.

Referenced by __call__().


The documentation for this class was generated from the following file: