Table of Contents

Class ShortCircuitedGeometryVisitor

Namespace
NetTopologySuite.Geometries.Utilities
Assembly
NetTopologySuite.dll

A visitor to Geometry elements which components, which allows short-circuiting when a defined condition holds.

public abstract class ShortCircuitedGeometryVisitor
Inheritance
ShortCircuitedGeometryVisitor
Inherited Members

Constructors

ShortCircuitedGeometryVisitor()

protected ShortCircuitedGeometryVisitor()

Methods

ApplyTo(Geometry)

public void ApplyTo(Geometry geom)

Parameters

geom Geometry

IsDone()

Reports whether visiting components can be terminated. Once this method returns true, it must continue to return true on every subsequent call.

protected abstract bool IsDone()

Returns

bool

true if visiting can be terminated.

Visit(Geometry)

protected abstract void Visit(Geometry element)

Parameters

element Geometry