SFWBGeometryReader
Objective-C
@interface SFWBGeometryReader : NSObject
Swift
class SFWBGeometryReader : NSObject
Well Known Binary Geometry Reader
-
Read a geometry from data
Declaration
Objective-C
+ (SFGeometry *)readGeometryWithData:(NSData *)data;
Swift
class func readGeometry(with data: Data!) -> SFGeometry!
Parameters
data
geometry data
Return Value
geometry
-
Read a geometry from data
Declaration
Objective-C
+ (SFGeometry *)readGeometryWithData:(NSData *)data andFilter:(NSObject<SFGeometryFilter> *)filter;
Swift
class func readGeometry(with data: Data!, andFilter filter: (any SFGeometryFilter)!) -> SFGeometry!
Parameters
data
geometry data
filter
geometry filter
Return Value
geometry
-
Read a geometry from data
Declaration
Objective-C
+ (SFGeometry *)readGeometryWithData:(NSData *)data andExpectedType:(Class)expectedType;
Swift
class func readGeometry(with data: Data!, andExpectedType expectedType: AnyClass!) -> SFGeometry!
Parameters
data
geometry data
expectedType
expected geometry class type
Return Value
geometry
-
Read a geometry from data
Declaration
Objective-C
+ (SFGeometry *)readGeometryWithData:(NSData *)data andFilter:(NSObject<SFGeometryFilter> *)filter andExpectedType:(Class)expectedType;
Swift
class func readGeometry(with data: Data!, andFilter filter: (any SFGeometryFilter)!, andExpectedType expectedType: AnyClass!) -> SFGeometry!
Parameters
data
geometry data
filter
geometry filter
expectedType
expected geometry class type
Return Value
geometry
-
Initializer
Declaration
Objective-C
- (instancetype)initWithData:(NSData *)data;
Swift
init!(data: Data!)
Parameters
data
geometry data
-
Initializer
Declaration
Objective-C
- (instancetype)initWithReader:(SFByteReader *)reader;
Swift
init!(reader: SFByteReader!)
Parameters
reader
byte reader
-
Get the byte reader
Return Value
byte reader
-
Read a geometry from the byte reader
Return Value
geometry
-
Read a geometry from the byte reader
Declaration
Objective-C
- (SFGeometry *)readWithFilter:(NSObject<SFGeometryFilter> *)filter;
Swift
func read(with filter: (any SFGeometryFilter)!) -> SFGeometry!
Parameters
filter
geometry filter
Return Value
geometry
-
Read a geometry from the byte reader
Declaration
Objective-C
- (SFGeometry *)readWithExpectedType:(Class)expectedType;
Swift
func read(withExpectedType expectedType: AnyClass!) -> SFGeometry!
Parameters
expectedType
expected geometry class type
Return Value
geometry
-
Read a geometry from the byte reader
Declaration
Objective-C
- (SFGeometry *)readWithFilter:(NSObject<SFGeometryFilter> *)filter andExpectedType:(Class)expectedType;
Swift
func read(with filter: (any SFGeometryFilter)!, andExpectedType expectedType: AnyClass!) -> SFGeometry!
Parameters
filter
geometry filter
expectedType
expected geometry class type
Return Value
geometry
-
Read a geometry from the byte reader
Declaration
Objective-C
- (SFGeometry *)readWithFilter:(NSObject<SFGeometryFilter> *)filter inType:(enum SFGeometryType)containingType andExpectedType:(Class)expectedType;
Swift
func read(with filter: (any SFGeometryFilter)!, in containingType: SFGeometryType, andExpectedType expectedType: AnyClass!) -> SFGeometry!
Parameters
filter
geometry filter
containingType
containing geometry type
expectedType
expected geometry class type
Return Value
geometry
-
Read the geometry type info
Declaration
Objective-C
- (SFWBGeometryTypeInfo *)readGeometryType;
Swift
func readGeometryType() -> SFWBGeometryTypeInfo!
Return Value
geometry type info
-
Read a line string
Declaration
Objective-C
- (SFLineString *)readLineStringWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readLineString(withHasZ hasZ: Bool, andHasM hasM: Bool) -> SFLineString!
Parameters
hasZ
has z values
hasM
has m values
Return Value
line string
-
Read a line string
Declaration
Objective-C
- (SFLineString *)readLineStringWithFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readLineString(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFLineString!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
line string
-
Read a polygon
Declaration
Objective-C
- (SFPolygon *)readPolygonWithFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readPolygon(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFPolygon!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
polygon
-
Read a multi point
Declaration
Objective-C
- (SFMultiPoint *)readMultiPointWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readMultiPoint(withHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiPoint!
Parameters
hasZ
has z values
hasM
has m values
Return Value
multi point
-
Read a multi point
Declaration
Objective-C
- (SFMultiPoint *)readMultiPointWithFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readMultiPoint(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiPoint!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
multi point
-
Read a multi line string
Declaration
Objective-C
- (SFMultiLineString *)readMultiLineStringWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readMultiLineString(withHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiLineString!
Parameters
hasZ
has z values
hasM
has m values
Return Value
multi line string
-
Read a multi line string
Declaration
Objective-C
- (SFMultiLineString *)readMultiLineStringWithFilter: (NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readMultiLineString(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiLineString!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
multi line string
-
Read a multi polygon
Declaration
Objective-C
- (SFMultiPolygon *)readMultiPolygonWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readMultiPolygon(withHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiPolygon!
Parameters
hasZ
has z values
hasM
has m values
Return Value
multi polygon
-
Read a multi polygon
Declaration
Objective-C
- (SFMultiPolygon *)readMultiPolygonWithFilter: (NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readMultiPolygon(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiPolygon!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
multi polygon
-
Read a geometry collection
Declaration
Objective-C
- (SFGeometryCollection *)readGeometryCollectionWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readGeometryCollection(withHasZ hasZ: Bool, andHasM hasM: Bool) -> SFGeometryCollection!
Parameters
hasZ
has z values
hasM
has m values
Return Value
geometry collection
-
Read a geometry collection
Declaration
Objective-C
- (SFGeometryCollection *)readGeometryCollectionWithFilter: (NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readGeometryCollection(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFGeometryCollection!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
geometry collection
-
Read a circular string
Declaration
Objective-C
- (SFCircularString *)readCircularStringWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readCircularString(withHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCircularString!
Parameters
hasZ
has z values
hasM
has m values
Return Value
circular string
-
Read a circular string
Declaration
Objective-C
- (SFCircularString *)readCircularStringWithFilter: (NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readCircularString(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCircularString!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
circular string
-
Read a compound curve
Declaration
Objective-C
- (SFCompoundCurve *)readCompoundCurveWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readCompoundCurve(withHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCompoundCurve!
Parameters
hasZ
has z values
hasM
has m values
Return Value
compound curve
-
Read a compound curve
Declaration
Objective-C
- (SFCompoundCurve *)readCompoundCurveWithFilter: (NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readCompoundCurve(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCompoundCurve!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
compound curve
-
Read a curve polygon
Declaration
Objective-C
- (SFCurvePolygon *)readCurvePolygonWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readCurvePolygon(withHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCurvePolygon!
Parameters
hasZ
has z values
hasM
has m values
Return Value
curve polygon
-
Read a curve polygon
Declaration
Objective-C
- (SFCurvePolygon *)readCurvePolygonWithFilter: (NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readCurvePolygon(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCurvePolygon!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
curve polygon
-
Read a polyhedral surface
Declaration
Objective-C
- (SFPolyhedralSurface *)readPolyhedralSurfaceWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readPolyhedralSurface(withHasZ hasZ: Bool, andHasM hasM: Bool) -> SFPolyhedralSurface!
Parameters
hasZ
has z values
hasM
has m values
Return Value
polyhedral surface
-
Read a polyhedral surface
Declaration
Objective-C
- (SFPolyhedralSurface *)readPolyhedralSurfaceWithFilter: (NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readPolyhedralSurface(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFPolyhedralSurface!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
polyhedral surface
-
Read a TIN
Declaration
Objective-C
- (SFTIN *)readTINWithFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readTIN(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFTIN!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
TIN
-
Read a triangle
Declaration
Objective-C
- (SFTriangle *)readTriangleWithHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readTriangle(withHasZ hasZ: Bool, andHasM hasM: Bool) -> SFTriangle!
Parameters
hasZ
has z values
hasM
has m values
Return Value
triangle
-
Read a triangle
Declaration
Objective-C
- (SFTriangle *)readTriangleWithFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
func readTriangle(with filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFTriangle!
Parameters
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
triangle
-
Read a geometry
Declaration
Objective-C
+ (SFGeometry *)readGeometryWithReader:(SFByteReader *)reader;
Swift
class func readGeometry(with reader: SFByteReader!) -> SFGeometry!
Parameters
reader
reader
Return Value
geometry
-
Read a geometry
Declaration
Objective-C
+ (SFGeometry *)readGeometryWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter;
Swift
class func readGeometry(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!) -> SFGeometry!
Parameters
reader
reader
filter
geometry filter
Return Value
geometry
-
Read a geometry
Declaration
Objective-C
+ (SFGeometry *)readGeometryWithReader:(SFByteReader *)reader andExpectedType:(Class)expectedType;
Swift
class func readGeometry(with reader: SFByteReader!, andExpectedType expectedType: AnyClass!) -> SFGeometry!
Parameters
reader
reader
expectedType
expected geometry class type
Return Value
geometry
-
Read a geometry
Declaration
Objective-C
+ (SFGeometry *)readGeometryWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter andExpectedType:(Class)expectedType;
Swift
class func readGeometry(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andExpectedType expectedType: AnyClass!) -> SFGeometry!
Parameters
reader
reader
filter
geometry filter
expectedType
expected geometry class type
Return Value
geometry
-
Read a geometry
Declaration
Objective-C
+ (SFGeometry *)readGeometryWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter inType:(enum SFGeometryType)containingType andExpectedType:(Class)expectedType;
Swift
class func readGeometry(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, in containingType: SFGeometryType, andExpectedType expectedType: AnyClass!) -> SFGeometry!
Parameters
reader
reader
filter
geometry filter
containingType
containing geometry type
expectedType
expected geometry class type
Return Value
geometry
-
Read the geometry type info
Declaration
Objective-C
+ (SFWBGeometryTypeInfo *)readGeometryTypeWithReader:(SFByteReader *)reader;
Swift
class func readGeometryType(with reader: SFByteReader!) -> SFWBGeometryTypeInfo!
Parameters
reader
byte reader
Return Value
geometry type info
-
Read a point
Declaration
Objective-C
+ (SFPoint *)readPointWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readPoint(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFPoint!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
point
-
Read a line string
Declaration
Objective-C
+ (SFLineString *)readLineStringWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readLineString(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFLineString!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
line string
-
Read a line string
Declaration
Objective-C
+ (SFLineString *)readLineStringWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readLineString(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFLineString!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
line string
-
Read a polygon
Declaration
Objective-C
+ (SFPolygon *)readPolygonWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readPolygon(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFPolygon!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
polygon
-
Read a polygon
Declaration
Objective-C
+ (SFPolygon *)readPolygonWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readPolygon(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFPolygon!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
polygon
-
Read a multi point
Declaration
Objective-C
+ (SFMultiPoint *)readMultiPointWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readMultiPoint(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiPoint!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
multi point
-
Read a multi point
Declaration
Objective-C
+ (SFMultiPoint *)readMultiPointWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readMultiPoint(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiPoint!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
multi point
-
Read a multi line string
Declaration
Objective-C
+ (SFMultiLineString *)readMultiLineStringWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readMultiLineString(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiLineString!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
multi line string
-
Read a multi line string
Declaration
Objective-C
+ (SFMultiLineString *) readMultiLineStringWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readMultiLineString(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiLineString!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
multi line string
-
Read a multi polygon
Declaration
Objective-C
+ (SFMultiPolygon *)readMultiPolygonWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readMultiPolygon(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiPolygon!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
multi polygon
-
Read a multi polygon
Declaration
Objective-C
+ (SFMultiPolygon *)readMultiPolygonWithReader:(SFByteReader *)reader andFilter: (NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readMultiPolygon(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFMultiPolygon!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
multi polygon
-
Read a geometry collection
Declaration
Objective-C
+ (SFGeometryCollection *)readGeometryCollectionWithReader: (SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readGeometryCollection(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFGeometryCollection!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
geometry collection
-
Read a geometry collection
Declaration
Objective-C
+ (SFGeometryCollection *) readGeometryCollectionWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readGeometryCollection(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFGeometryCollection!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
geometry collection
-
Read a circular string
Declaration
Objective-C
+ (SFCircularString *)readCircularStringWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readCircularString(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCircularString!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
circular string
-
Read a circular string
Declaration
Objective-C
+ (SFCircularString *) readCircularStringWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readCircularString(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCircularString!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
circular string
-
Read a compound curve
Declaration
Objective-C
+ (SFCompoundCurve *)readCompoundCurveWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readCompoundCurve(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCompoundCurve!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
compound curve
-
Read a compound curve
Declaration
Objective-C
+ (SFCompoundCurve *)readCompoundCurveWithReader:(SFByteReader *)reader andFilter: (NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readCompoundCurve(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCompoundCurve!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
compound curve
-
Read a curve polygon
Declaration
Objective-C
+ (SFCurvePolygon *)readCurvePolygonWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readCurvePolygon(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCurvePolygon!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
curve polygon
-
Read a curve polygon
Declaration
Objective-C
+ (SFCurvePolygon *)readCurvePolygonWithReader:(SFByteReader *)reader andFilter: (NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readCurvePolygon(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFCurvePolygon!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
curve polygon
-
Read a polyhedral surface
Declaration
Objective-C
+ (SFPolyhedralSurface *)readPolyhedralSurfaceWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readPolyhedralSurface(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFPolyhedralSurface!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
polyhedral surface
-
Read a polyhedral surface
Declaration
Objective-C
+ (SFPolyhedralSurface *) readPolyhedralSurfaceWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readPolyhedralSurface(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFPolyhedralSurface!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
polyhedral surface
-
Read a TIN
Declaration
Objective-C
+ (SFTIN *)readTINWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readTIN(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFTIN!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
TIN
-
Read a TIN
Declaration
Objective-C
+ (SFTIN *)readTINWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readTIN(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFTIN!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
TIN
-
Read a triangle
Declaration
Objective-C
+ (SFTriangle *)readTriangleWithReader:(SFByteReader *)reader andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readTriangle(with reader: SFByteReader!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFTriangle!
Parameters
reader
reader
hasZ
has z values
hasM
has m values
Return Value
triangle
-
Read a triangle
Declaration
Objective-C
+ (SFTriangle *)readTriangleWithReader:(SFByteReader *)reader andFilter:(NSObject<SFGeometryFilter> *)filter andHasZ:(BOOL)hasZ andHasM:(BOOL)hasM;
Swift
class func readTriangle(with reader: SFByteReader!, andFilter filter: (any SFGeometryFilter)!, andHasZ hasZ: Bool, andHasM hasM: Bool) -> SFTriangle!
Parameters
reader
reader
filter
geometry filter
hasZ
has z values
hasM
has m values
Return Value
triangle