IBM Streams 4.2

C++ Native Functions: com.ibm.streams.geospatial.twodimension.geometry

This page documents native functions that can be invoked from SPL, including the SPL interfaces that can be used to invoke each of the native functions.

Functions

public float64 azimuth(Metric.metricType,PointPropertyType.point128 ,PointPropertyType.point128 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::azimuth instead. This function computes the distance between the two points using the algorithm provided in the metric type

public float64 azimuth(Metric.metricType,PointPropertyType.point32 ,PointPropertyType.point32 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::azimuth instead. This function computes the distance between the two points using the algorithm provided in the metric type

public float64 azimuth(Metric.metricType,PointPropertyType.point64 ,PointPropertyType.point64 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::azimuth instead. This function computes the distance between the two points using the algorithm provided in the metric type

public com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment128 createLineSegment128(com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point128, com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point128)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::lineSegment instead. This function creates a lineSegment128

public com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment32 createLineSegment32(com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point32, com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point32)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::lineSegment instead. This function creates a lineSegment32

public com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment64 createLineSegment64(com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point64, com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point64)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::lineSegment instead. This function creates a lineSegment64

public list <com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment128> createLineString128(list<com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment128>)

Deprecated as of Streams version 4.0. This function creates a list of lineSegment128

public list <com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment32> createLineString32(list<com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment32>)

Deprecated as of Streams version 4.0. This function creates a list of lineSegment32

public list <com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment64> createLineString64(list<com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment64>)

Deprecated as of Streams version 4.0. This function creates a list of lineSegment64

public list<com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point128> createLinearSimplePolygon128(list<com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point128>)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::polygon or com.ibm.streams.geospatial.ext::orientedPolygon instead. This function creates a linear simple polygon128

public list<com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point32> createLinearSimplePolygon32(list<com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point32>)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::polygon or com.ibm.streams.geospatial.orientedPolygon instead. This function creates a linear simple polygon32

public list<com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point64> createLinearSimplePolygon64(list<com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point64>)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::polygon or com.ibm.streams.geospatial.ext::orientedPolygon instead. This function creates a linear simple polygon64

public com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point128 createPoint128(float64 , float64 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::point instead. This function creates a point128

public com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point32 createPoint32(float64 , float64 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::point instead. This function creates a point32

public com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point64 createPoint64(float64 , float64 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::point instead. This function creates a point64

public com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point128 destinationPoint(com.ibm.streams.geospatial.twodimension.geometry::Metric.metricType,com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point128 ,float64,float64 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::destinationPoint instead. This function computes the distance between the two points using the algorithm provided in the metric type

public com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point32 destinationPoint(com.ibm.streams.geospatial.twodimension.geometry::Metric.metricType,com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point32 ,float64,float64 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::destinationPoint instead. This function computes the distance between the two points using the algorithm provided in the metric type

public com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point64 destinationPoint(com.ibm.streams.geospatial.twodimension.geometry::Metric.metricType,com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point64 ,float64,float64 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::destinationPoint instead. This function computes the distance between the two points using the algorithm provided in the metric type

public float64 distance(Metric.metricType,PointPropertyType.point128 ,PointPropertyType.point128 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the algorithm provided in the metric type

public float64 distance(Metric.metricType,PointPropertyType.point32 ,PointPropertyType.point32 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the algorithm provided in the metric type

public float64 distance(Metric.metricType,PointPropertyType.point64 ,PointPropertyType.point64 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the algorithm provided in the metric type

public float64 distanceEllipsoidal(PointPropertyType.point128 ,PointPropertyType.point128 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the Haversine Formula

public float64 distanceEllipsoidal(PointPropertyType.point32 ,PointPropertyType.point32 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the Haversine Formula

public float64 distanceEllipsoidal(PointPropertyType.point64 ,PointPropertyType.point64 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the Haversine Formula

public float64 distanceGreatCircle(PointPropertyType.point128 ,PointPropertyType.point128 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the GreatCircle Formula

public float64 distanceGreatCircle(PointPropertyType.point32 ,PointPropertyType.point32 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the GreatCircle Formula

public float64 distanceGreatCircle(PointPropertyType.point64 ,PointPropertyType.point64 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the GreatCircle Formula

public float64 distanceHaversine(PointPropertyType.point128 ,PointPropertyType.point128 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the Haversine Formula

public float64 distanceHaversine(PointPropertyType.point32 ,PointPropertyType.point32 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the Haversine Formula

public float64 distanceHaversine(PointPropertyType.point64 ,PointPropertyType.point64 )

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::distance instead. This function computes the distance between the two points using the Haversine Formula

public float64 getLatitude(PointPropertyType.point128)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::getLatitude instead. This function computes the latitude from a point

public float64 getLatitude(PointPropertyType.point32)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::getLatitude instead. This function computes the latitude from a point

public float64 getLatitude(PointPropertyType.point64)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::getLatitude instead. his function computes the latitude from a point

public float64 getLongitude(PointPropertyType.point128)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::getLongitude instead. This function computes the Longitude from a point

public float64 getLongitude(PointPropertyType.point32)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::getLongitude instead. This function computes the Longitude from a point

public float64 getLongitude(PointPropertyType.point64)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.ext::getLongitude instead. This function computes the Longitude from a point

public boolean isContained(CurvePropertyType.lineSegment128, PointPropertyType.point128)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::contains instead. This function checks if a lineSegment128 contains a point128

public boolean isContained(CurvePropertyType.lineSegment32, PointPropertyType.point32)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::contains instead. This function checks if a lineSegment32 contains a point32

public boolean isContained(CurvePropertyType.lineSegment64, PointPropertyType.point64)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::contains instead. This function checks if a lineSegment64 contains a point64

public boolean isContained(list<PointPropertyType.point128>, PointPropertyType.point128)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::contains instead. This function checks if a linearsimplepolygon128 contains a linearsimplepolygon128

public boolean isContained(list<PointPropertyType.point128>, list<PointPropertyType.point128>)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::contains instead. This function checks if a linearsimplepolygon128 contains a linearsimplepolygon128

public boolean isContained(list<PointPropertyType.point32>, PointPropertyType.point32)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::contains instead. This function checks if a linearsimplepolygon32 contains a linearsimplepolygon32

public boolean isContained(list<PointPropertyType.point32>, list<PointPropertyType.point32>)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::contains instead. This function checks if a linearsimplepolygon32 contains a linearsimplepolygon32

public boolean isContained(list<PointPropertyType.point64>, PointPropertyType.point64)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::contains instead. This function checks if a linearsimplepolygon64 contains a linearsimplepolygon64

public boolean isContained(list<PointPropertyType.point64>, list<PointPropertyType.point64>)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::contains instead. This function checks if a linearsimplepolygon64 contains a linearsimplepolygon64

<tuple R>public void mapPointToLineString(list <com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment128>,com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point128 , mutable R result)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::nearestPoint instead. This functions provides with the ability to (a) find coordinates of a point Q on a given line string route (e.g., route traveled by the bus) that is closest to a given point P (e.g., a position on the diverted route taken by the bus); (b) compute distance between point P and Q (e.g., to determine how far the bus has taken diversion from the original route) which is returned in variable crossTrackDistance, and (c) compute distance along the line string from start (first point) of line string (route) and point Q which is returned in the variable alongTrackDistance.

<tuple R>public void mapPointToLineString(list <com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment32>,com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point32 , mutable R result)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::nearestPoint instead. This functions provides the ability to (a) find coordinates of a point Q on a given line string route (e.g., route traveled by the bus) that is closest to a given point P (e.g., a position on the diverted route taken by the bus); (b) compute distance between point P and Q (e.g., to determine how far the bus has taken diversion from the original route) which is returned in variable crossTrackDistance, and (c) compute distance along the line string from start (first point) of line string (route) and point Q which is returned in the variable alongTrackDistance.

<tuple R>public void mapPointToLineString(list <com.ibm.streams.geospatial.twodimension.geometry::CurvePropertyType.lineSegment64>,com.ibm.streams.geospatial.twodimension.geometry::PointPropertyType.point64 , mutable R result)

Deprecated as of Streams version 4.0. Use com.ibm.streams.geospatial.st::nearestPoint instead. This functions provides the ability to (a) find coordinates of a point Q on a given line string route (e.g., route traveled by the bus) that is closest to a given point P (e.g., a position on the diverted route taken by the bus); (b) compute distance between point P and Q (e.g., to determine how far the bus has taken diversion from the original route) which is returned in variable crossTrackDistance, and (c) compute distance along the line string from start (first point) of line string (route) and point Q which is returned in the variable alongTrackDistance.