LocationPolygon class
Class is used for representing certain polygon within the location Polygon
Example:
List<Point> ring = [
Point(1.0, 2.0),
Point(3.0, 4.0),
Point(5.0, 2.0),
];
Polygon metricPolygon = Polygon(ring);
LocationPolygon locationPolygon = LocationPolygon(metricPolygon, 42, 7);
Polygon polygonBack = locationPolygon.polygon;
print(
"LocationPolygon: location ${locationPolygon.locationId} sublocation ${locationPolygon.sublocationId} vertices ${polygonBack.points.length}",
);
Constructors
- LocationPolygon(Polygon polygon, int locationId, int sublocationId)
- Default constructor.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- locationId ↔ int
-
location polygon location identifier.
getter/setter pair
- polygon ↔ Polygon
-
Metrics polygon Polygon.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sublocationId ↔ int
-
location polygon sublocation identifier.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited