Class DefaultTemporalGeometricPrimitive

    • Constructor Detail

      • DefaultTemporalGeometricPrimitive

        public DefaultTemporalGeometricPrimitive()
    • Method Detail

      • distance

        public Duration distance​(TemporalGeometricPrimitive other)
        Returns the distance from this TM_GeometricPrimitive to another TM_GeometricPrimitive, i.e. the absolute value of the difference between their temporal positions.
        Specified by:
        distance in interface Separation
      • length

        public Duration length()
        Returns the length of this TM_GeometricPrimitive
        Specified by:
        length in interface Separation