PolygonUtils class Null safety
Polygon Utils
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
area(
List< Point< polygon) → doublenum> > - Get Polygon area
-
getBottomPoint(
List< Point< polygon) → Point<num> >num> - Get the furthest bottom point of the polygon
-
getMostLeftPoint(
List< Point< polygon) → Point<num> >num> - Get the furthest left point of the polygon
-
getMostRightPoint(
List< Point< polygon) → Point<num> >num> - Get the furthest right point of the polygon
-
getPolygonBound(
List< Point< polygon) → List<num> >Point< num> > - Get all the boundary of the polygon
-
getPolygonFurthestVertexFromCentroid(
List< Point< list, Point<num> >num> centroid) → Point<num> - Get the furthest vertex
-
getPolygonInnerCentroid(
List< Point< list) → Point<num> >num> - Get the centroid of inner circle
-
getPolygonInnerCircle(
List< Point< list) → Circlenum> > - Get the outer circle
-
getPolygonOuterCircle(
List< Point< list) → Circlenum> > - Get the outer circle
-
getPolygonOuterCircleCentroid(
List< Point< list) → Point<num> >num> - Get the centroid of Outer circle
-
getPolygonSides(
List< Point< polygon) → List<num> >Line> - Get all sides of the polygon
-
getTopPoint(
List< Point< polygon) → Point<num> >num> - Get the furthest top point of the polygon
-
isInsidePolygon(
Point< num> point, List<Point< polygon) → boolnum> > - Check if a point is inside the polygon
-
perimeter(
List< Point< polygon) → doublenum> > - Get Polygon perimeter