Class TPointInst

java.lang.Object
types.temporal.Temporal<org.locationtech.jts.geom.Point>
types.temporal.TInstant<org.locationtech.jts.geom.Point>
types.basic.tpoint.TPointInst
All Implemented Interfaces:
Serializable, TPoint, TemporalObject
Direct Known Subclasses:
TGeogPointInst, TGeomPointInst

public abstract class TPointInst extends TInstant<org.locationtech.jts.geom.Point> implements TPoint
Base abstract class for TGeomPointInt and TGeogPointInt
Author:
ARIJIT SAMAL
See Also:
  • Field Details

    • inner

      public jnr.ffi.Pointer inner
  • Constructor Details

    • TPointInst

      public TPointInst()
    • TPointInst

      public TPointInst(jnr.ffi.Pointer inner)
      The Pointer constructor
      Parameters:
      inner - Pointer
    • TPointInst

      public TPointInst(String value)
      The string constructor
      Parameters:
      value - - the string with the TIntInst value
  • Method Details

    • createStringInner

      public abstract jnr.ffi.Pointer createStringInner(String str)
      Specified by:
      createStringInner in class TInstant<org.locationtech.jts.geom.Point>
    • createInner

      public abstract jnr.ffi.Pointer createInner(jnr.ffi.Pointer inner)
      Specified by:
      createInner in class TInstant<org.locationtech.jts.geom.Point>
    • value

      public org.locationtech.jts.geom.Point value(int precision) throws org.locationtech.jts.io.ParseException
      Returns the value of the temporal point instant.

      Parameters:
      precision - The precision of the returned geometry.
      Returns:
      A new Point representing the value of the temporal point instant.
      Throws:
      org.locationtech.jts.io.ParseException