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, NSCoding>
Swift
class SFGeometry : NSObject, NSMutableCopying, NSCoding
-
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, NSCoding>
Swift
class SFGeometryEnvelope : NSObject, NSMutableCopying, NSCoding
-
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
-
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
-
Declaration
Objective-C
@interface SFGeometryUtils : NSObject
Swift
class SFGeometryUtils : NSObject
-
Calculate the centroid from curve based geometries. Implementation based on the JTS (Java Topology Suite) CentroidLine.
@author osbornb
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.
@author osbornb
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.
@author osbornb
See moreDeclaration
Objective-C
@interface SFCentroidSurface : NSObject
Swift
class SFCentroidSurface : NSObject
-
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 SFWGeometryCodes : NSObject
Swift
class SFWGeometryCodes : NSObject
-
Well Known Binary Geometry Reader
See moreDeclaration
Objective-C
@interface SFWGeometryReader : NSObject
Swift
class SFWGeometryReader : NSObject
-
Geometry type info
See moreDeclaration
Objective-C
@interface SFWGeometryTypeInfo : NSObject
Swift
class SFWGeometryTypeInfo : NSObject
-
Well Known Binary Geometry Writer
See moreDeclaration
Objective-C
@interface SFWGeometryWriter : NSObject
Swift
class SFWGeometryWriter : NSObject