SFGeometryFilter
Objective-C
@protocol SFGeometryFilter <NSObject>
Swift
protocol SFGeometryFilter : NSObjectProtocol
Geometry Filter to filter included geometries and modify them during construction
-
Filter the geometry
Declaration
Objective-C
- (BOOL)filterGeometry:(SFGeometry *)geometry inType:(enum SFGeometryType)containingType;Swift
func filterGeometry(_ geometry: SFGeometry!, in containingType: SFGeometryType) -> BoolParameters
geometrygeometry, may be modified
containingTypegeometry type of the geometry containing this geometry element, null if geometry is top level
Return Value
true if passes filter and geometry should be included
View on GitHub
SFGeometryFilter Protocol Reference