SFWTGeometryWriter
Objective-C
@interface SFWTGeometryWriter : NSObject
Swift
class SFWTGeometryWriter : NSObject
Well Known Text writer
-
Write a geometry to a well-known text string
Declaration
Objective-C
+ (NSString *)writeGeometry:(SFGeometry *)geometry;
Swift
class func write(_ geometry: SFGeometry!) -> String!
Parameters
geometry
geometry
Return Value
well-known text string
-
Initializer
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
-
Initializer
Declaration
Objective-C
- (instancetype)initWithText:(NSMutableString *)text;
Swift
init!(text: NSMutableString!)
Parameters
text
mutable string
-
Get the well-known text
Declaration
Objective-C
- (NSMutableString *)text;
Swift
func text() -> NSMutableString!
Return Value
text
-
Write a geometry to well-known text
Declaration
Objective-C
- (void)write:(SFGeometry *)geometry;
Swift
func write(_ geometry: SFGeometry!)
Parameters
geometry
geometry
-
Get the well-known text writable geometry name
Declaration
Objective-C
- (NSString *)name:(SFGeometry *)geometry;
Swift
func name(_ geometry: SFGeometry!) -> String!
Parameters
geometry
geometry
Return Value
geometry name
-
Write a Point
Parameters
point
point
-
Write a Line String
Declaration
Objective-C
- (void)writeLineString:(SFLineString *)lineString;
Swift
func write(_ lineString: SFLineString!)
Parameters
lineString
line string
-
Write a Multi Point
Declaration
Objective-C
- (void)writeMultiPoint:(SFMultiPoint *)multiPoint;
Swift
func write(_ multiPoint: SFMultiPoint!)
Parameters
multiPoint
multi point
-
Write a Multi Line String
Declaration
Objective-C
- (void)writeMultiLineString:(SFMultiLineString *)multiLineString;
Swift
func write(_ multiLineString: SFMultiLineString!)
Parameters
multiLineString
multi line string
-
Write a Multi Polygon
Declaration
Objective-C
- (void)writeMultiPolygon:(SFMultiPolygon *)multiPolygon;
Swift
func write(_ multiPolygon: SFMultiPolygon!)
Parameters
multiPolygon
multi polygon
-
Write a Geometry Collection
Declaration
Objective-C
- (void)writeGeometryCollection:(SFGeometryCollection *)geometryCollection;
Swift
func write(_ geometryCollection: SFGeometryCollection!)
Parameters
geometryCollection
geometry collection
-
Write a Circular String
Declaration
Objective-C
- (void)writeCircularString:(SFCircularString *)circularString;
Swift
func write(_ circularString: SFCircularString!)
Parameters
circularString
circular string
-
Write a Compound Curve
Declaration
Objective-C
- (void)writeCompoundCurve:(SFCompoundCurve *)compoundCurve;
Swift
func write(_ compoundCurve: SFCompoundCurve!)
Parameters
compoundCurve
compound curve
-
Write a Curve Polygon
Declaration
Objective-C
- (void)writeCurvePolygon:(SFCurvePolygon *)curvePolygon;
Swift
func write(_ curvePolygon: SFCurvePolygon!)
Parameters
curvePolygon
curve polygon
-
Write a Polyhedral Surface
Declaration
Objective-C
- (void)writePolyhedralSurface:(SFPolyhedralSurface *)polyhedralSurface;
Swift
func write(_ polyhedralSurface: SFPolyhedralSurface!)
Parameters
polyhedralSurface
polyhedral surface
-
Write a TIN
Parameters
tin
TIN
-
Write a Triangle
Declaration
Objective-C
- (void)writeTriangle:(SFTriangle *)triangle;
Swift
func write(_ triangle: SFTriangle!)
Parameters
triangle
triangle
-
Write a geometry to well-known text
Declaration
Objective-C
+ (void)writeGeometry:(SFGeometry *)geometry toString:(NSMutableString *)string;
Swift
class func write(_ geometry: SFGeometry!, to string: NSMutableString!)
Parameters
geometry
geometry
string
mutable string
-
Write a Line String
Declaration
Objective-C
+ (NSString *)writeLineString:(SFLineString *)lineString;
Swift
class func write(_ lineString: SFLineString!) -> String!
Parameters
lineString
line string
Return Value
well-known text string
-
Write a Line String
Declaration
Objective-C
+ (void)writeLineString:(SFLineString *)lineString toString:(NSMutableString *)string;
Swift
class func write(_ lineString: SFLineString!, to string: NSMutableString!)
Parameters
lineString
line string
string
mutable string
-
Write a Multi Point
Declaration
Objective-C
+ (NSString *)writeMultiPoint:(SFMultiPoint *)multiPoint;
Swift
class func write(_ multiPoint: SFMultiPoint!) -> String!
Parameters
multiPoint
multi point
Return Value
well-known text string
-
Write a Multi Point
Declaration
Objective-C
+ (void)writeMultiPoint:(SFMultiPoint *)multiPoint toString:(NSMutableString *)string;
Swift
class func write(_ multiPoint: SFMultiPoint!, to string: NSMutableString!)
Parameters
multiPoint
multi point
string
mutable string
-
Write a Multi Line String
Declaration
Objective-C
+ (NSString *)writeMultiLineString:(SFMultiLineString *)multiLineString;
Swift
class func write(_ multiLineString: SFMultiLineString!) -> String!
Parameters
multiLineString
multi line string
Return Value
well-known text string
-
Write a Multi Line String
Declaration
Objective-C
+ (void)writeMultiLineString:(SFMultiLineString *)multiLineString toString:(NSMutableString *)string;
Swift
class func write(_ multiLineString: SFMultiLineString!, to string: NSMutableString!)
Parameters
multiLineString
multi line string
string
mutable string
-
Write a Multi Polygon
Declaration
Objective-C
+ (NSString *)writeMultiPolygon:(SFMultiPolygon *)multiPolygon;
Swift
class func write(_ multiPolygon: SFMultiPolygon!) -> String!
Parameters
multiPolygon
multi polygon
Return Value
well-known text string
-
Write a Multi Polygon
Declaration
Objective-C
+ (void)writeMultiPolygon:(SFMultiPolygon *)multiPolygon toString:(NSMutableString *)string;
Swift
class func write(_ multiPolygon: SFMultiPolygon!, to string: NSMutableString!)
Parameters
multiPolygon
multi polygon
string
mutable string
-
Write a Geometry Collection
Declaration
Objective-C
+ (NSString *)writeGeometryCollection: (SFGeometryCollection *)geometryCollection;
Swift
class func write(_ geometryCollection: SFGeometryCollection!) -> String!
Parameters
geometryCollection
geometry collection
Return Value
well-known text string
-
Write a Geometry Collection
Declaration
Objective-C
+ (void)writeGeometryCollection:(SFGeometryCollection *)geometryCollection toString:(NSMutableString *)string;
Swift
class func write(_ geometryCollection: SFGeometryCollection!, to string: NSMutableString!)
Parameters
geometryCollection
geometry collection
string
mutable string
-
Write a Circular String
Declaration
Objective-C
+ (NSString *)writeCircularString:(SFCircularString *)circularString;
Swift
class func write(_ circularString: SFCircularString!) -> String!
Parameters
circularString
circular string
Return Value
well-known text string
-
Write a Circular String
Declaration
Objective-C
+ (void)writeCircularString:(SFCircularString *)circularString toString:(NSMutableString *)string;
Swift
class func write(_ circularString: SFCircularString!, to string: NSMutableString!)
Parameters
circularString
circular string
string
mutable string
-
Write a Compound Curve
Declaration
Objective-C
+ (NSString *)writeCompoundCurve:(SFCompoundCurve *)compoundCurve;
Swift
class func write(_ compoundCurve: SFCompoundCurve!) -> String!
Parameters
compoundCurve
compound curve
Return Value
well-known text string
-
Write a Compound Curve
Declaration
Objective-C
+ (void)writeCompoundCurve:(SFCompoundCurve *)compoundCurve toString:(NSMutableString *)string;
Swift
class func write(_ compoundCurve: SFCompoundCurve!, to string: NSMutableString!)
Parameters
compoundCurve
compound curve
string
mutable string
-
Write a Curve Polygon
Declaration
Objective-C
+ (NSString *)writeCurvePolygon:(SFCurvePolygon *)curvePolygon;
Swift
class func write(_ curvePolygon: SFCurvePolygon!) -> String!
Parameters
curvePolygon
curve polygon
Return Value
well-known text string
-
Write a Curve Polygon
Declaration
Objective-C
+ (void)writeCurvePolygon:(SFCurvePolygon *)curvePolygon toString:(NSMutableString *)string;
Swift
class func write(_ curvePolygon: SFCurvePolygon!, to string: NSMutableString!)
Parameters
curvePolygon
curve polygon
string
mutable string
-
Write a Polyhedral Surface
Declaration
Objective-C
+ (NSString *)writePolyhedralSurface:(SFPolyhedralSurface *)polyhedralSurface;
Swift
class func write(_ polyhedralSurface: SFPolyhedralSurface!) -> String!
Parameters
polyhedralSurface
polyhedral surface
Return Value
well-known text string
-
Write a Polyhedral Surface
Declaration
Objective-C
+ (void)writePolyhedralSurface:(SFPolyhedralSurface *)polyhedralSurface toString:(NSMutableString *)string;
Swift
class func write(_ polyhedralSurface: SFPolyhedralSurface!, to string: NSMutableString!)
Parameters
polyhedralSurface
polyhedral surface
string
mutable string
-
Write a Triangle
Declaration
Objective-C
+ (NSString *)writeTriangle:(SFTriangle *)triangle;
Swift
class func write(_ triangle: SFTriangle!) -> String!
Parameters
triangle
triangle
Return Value
well-known text string
-
Write a Triangle
Declaration
Objective-C
+ (void)writeTriangle:(SFTriangle *)triangle toString:(NSMutableString *)string;
Swift
class func write(_ triangle: SFTriangle!, to string: NSMutableString!)
Parameters
triangle
triangle
string
mutable string