Classes
The following classes are available globally.
-
Circular String, Curve sub type
See moreDeclaration
Objective-C
@interface SFCircularString : SFLineString
Swift
class SFCircularString : SFLineString
-
Compound Curve, Curve sub type
See more -
The base type for all 1-dimensional geometry types. A 1-dimensional geometry is a geometry that has a length, but no area. A curve is considered simple if it does not intersect itself (except at the start and end point). A curve is considered closed its start and end point are coincident. A simple, closed curve is called a ring.
See more -
The root of the geometry type hierarchy
See moreDeclaration
Objective-C
@interface SFGeometry : NSObject <NSMutableCopying, NSSecureCoding>
Swift
class SFGeometry : NSObject, NSMutableCopying, NSSecureCoding
-
A collection of zero or more Geometry instances.
See moreDeclaration
Objective-C
@interface SFGeometryCollection : SFGeometry
Swift
class SFGeometryCollection : SFGeometry
-
Geometry envelope containing x and y range with optional z and m range
See moreDeclaration
Objective-C
@interface SFGeometryEnvelope : NSObject <NSMutableCopying, NSSecureCoding>
Swift
class SFGeometryEnvelope : NSObject, NSMutableCopying, NSSecureCoding
-
Undocumented
See moreDeclaration
Objective-C
@interface SFGeometryTypes : NSObject /** * Get the name of the geometry type * * @param geometryType geometry type enum * * @return geometry type name */ +(NSString *) name: (enum SFGeometryType) geometryType; /** * Get the geometry type of the name * * @param name geometry type name * * @return geometry type */ +(enum SFGeometryType) fromName: (NSString *) name; @end
Swift
class SFGeometryTypes : NSObject
-
A LineString with exactly 2 Points.
See more -
A Curve that connects two or more points in space.
See more -
A LineString that is both closed and simple.
See moreDeclaration
Objective-C
@interface SFLinearRing : SFLineString
Swift
class SFLinearRing : SFLineString
-
A restricted form of GeometryCollection where each Geometry in the collection must be of type Curve.
See moreDeclaration
Objective-C
@interface SFMultiCurve : SFGeometryCollection
Swift
class SFMultiCurve : SFGeometryCollection
-
A restricted form of MultiCurve where each Curve in the collection must be of type LineString.
See moreDeclaration
Objective-C
@interface SFMultiLineString : SFMultiCurve
Swift
class SFMultiLineString : SFMultiCurve
-
A restricted form of GeometryCollection where each Geometry in the collection must be of type Point.
See moreDeclaration
Objective-C
@interface SFMultiPoint : SFGeometryCollection
Swift
class SFMultiPoint : SFGeometryCollection
-
A restricted form of MultiSurface where each Surface in the collection must be of type Polygon.
See moreDeclaration
Objective-C
@interface SFMultiPolygon : SFMultiSurface
Swift
class SFMultiPolygon : SFMultiSurface
-
A restricted form of GeometryCollection where each Geometry in the collection must be of type Surface.
See moreDeclaration
Objective-C
@interface SFMultiSurface : SFGeometryCollection
Swift
class SFMultiSurface : SFGeometryCollection
-
A single location in space. Each point has an X and Y coordinate. A point MAY optionally also have a Z and/or an M value.
See more -
A restricted form of CurvePolygon where each ring is defined as a simple, closed LineString.
See moreDeclaration
Objective-C
@interface SFPolygon : SFCurvePolygon
Swift
class SFPolygon : SFCurvePolygon
-
The base type for all 2-dimensional geometry types. A 2-dimensional geometry is a geometry that has an area.
See more -
A tetrahedron (4 triangular faces), corner at the origin and each unit coordinate digit.
See moreDeclaration
Objective-C
@interface SFTIN : SFPolyhedralSurface
Swift
class SFTIN : SFPolyhedralSurface
-
Triangle
See more -
Extended Geometry Collection providing abstract geometry collection type support
See moreDeclaration
Objective-C
@interface SFExtendedGeometryCollection : SFGeometryCollection
Swift
class SFExtendedGeometryCollection : SFGeometryCollection
-
Read through byte data
See moreDeclaration
Objective-C
@interface SFByteReader : NSObject
Swift
class SFByteReader : NSObject
-
Write byte data
See moreDeclaration
Objective-C
@interface SFByteWriter : NSObject
Swift
class SFByteWriter : NSObject
-
Undocumented
Declaration
Objective-C
@interface SFGeometryConstants : NSObject @end
Swift
class SFGeometryConstants : NSObject
-
Builds an envelope from a Geometry
See moreDeclaration
Objective-C
@interface SFGeometryEnvelopeBuilder : NSObject
Swift
class SFGeometryEnvelopeBuilder : NSObject
-
String representation of a Geometry
See moreDeclaration
Objective-C
@interface SFGeometryPrinter : NSObject
Swift
class SFGeometryPrinter : NSObject
-
Utilities for Geometry objects
See moreDeclaration
Objective-C
@interface SFGeometryUtils : NSObject
Swift
class SFGeometryUtils : NSObject
-
Read through text string
See moreDeclaration
Objective-C
@interface SFTextReader : NSObject
Swift
class SFTextReader : NSObject
-
Calculate the centroid from curve based geometries. Implementation based on the JTS (Java Topology Suite) CentroidLine.
See moreDeclaration
Objective-C
@interface SFCentroidCurve : NSObject
Swift
class SFCentroidCurve : NSObject
-
Calculate the centroid from point based geometries. Implementation based on the JTS (Java Topology Suite) CentroidPoint.
See moreDeclaration
Objective-C
@interface SFCentroidPoint : NSObject
Swift
class SFCentroidPoint : NSObject
-
Calculate the centroid from surface based geometries. Implementation based on the JTS (Java Topology Suite) CentroidArea.
See moreDeclaration
Objective-C
@interface SFCentroidSurface : NSObject
Swift
class SFCentroidSurface : NSObject
-
Centroid calculations for geometries in degrees
See moreDeclaration
Objective-C
@interface SFDegreesCentroid : NSObject
Swift
class SFDegreesCentroid : NSObject
-
Undocumented
Declaration
Objective-C
@interface SFFiniteFilterTypes : NSObject @end
Swift
class SFFiniteFilterTypes : NSObject
-
Point filter for finite checks on x and y properties, optionally filter on z and m properties and non finite values (NaN or infinity)
See moreDeclaration
Objective-C
@interface SFPointFiniteFilter : NSObject <SFGeometryFilter>
Swift
class SFPointFiniteFilter : NSObject, SFGeometryFilter
-
Event element
See moreDeclaration
Objective-C
@interface SFEvent : NSObject
Swift
class SFEvent : NSObject
-
Event queue for processing events
See moreDeclaration
Objective-C
@interface SFEventQueue : NSObject
Swift
class SFEventQueue : NSObject
-
Undocumented
Declaration
Objective-C
@interface SFEventTypes : NSObject @end
Swift
class SFEventTypes : NSObject
-
Line segment of an edge between two points
See moreDeclaration
Objective-C
@interface SFSegment : NSObject
Swift
class SFSegment : NSObject
-
Shamos-Hoey simple polygon detection
Based upon C++ implementation: http://geomalgorithms.com/a09-_intersect-3.html
C++ implementation license:
Copyright 2001 softSurfer, 2012 Dan Sunday This code may be freely used and modified for any purpose providing that this copyright notice is included with it. SoftSurfer makes no warranty for this code, and cannot be held liable for any real or imagined damage resulting from its use. Users of this code must verify correctness for their application.
See moreDeclaration
Objective-C
@interface SFShamosHoey : NSObject
Swift
class SFShamosHoey : NSObject
-
Sweep Line algorithm
See moreDeclaration
Objective-C
@interface SFSweepLine : NSObject
Swift
class SFSweepLine : NSObject
-
Geometry Code utilities to convert between geometry attributes and geometry codes
See moreDeclaration
Objective-C
@interface SFWBGeometryCodes : NSObject
Swift
class SFWBGeometryCodes : NSObject
-
Well Known Binary Geometry Reader
See moreDeclaration
Objective-C
@interface SFWBGeometryReader : NSObject
Swift
class SFWBGeometryReader : NSObject
-
Geometry type info
See moreDeclaration
Objective-C
@interface SFWBGeometryTypeInfo : NSObject
Swift
class SFWBGeometryTypeInfo : NSObject
-
Well Known Binary Geometry Writer
See moreDeclaration
Objective-C
@interface SFWBGeometryWriter : NSObject
Swift
class SFWBGeometryWriter : NSObject