NTWKTGeometryReader


@interface NTWKTGeometryReader : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

A reader for Well Known Text representation of the geometry.

  • Constructs a WKTGeometryReader object.

    Declaration

    Objective-C

    - (id)init;
  • Reads geometry from the specified WKT string.

    Warning

    Throws NSException If reading fails.

    Declaration

    Objective-C

    - (NTGeometry *)readGeometry:(NSString *)wkt;

    Parameters

    wkt

    The WKT string to read. For example, “POINT(1,1)”

    Return Value

    The geometry read from the string. Null if reading failed.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;