PolygonalArea class
An implementation of a polygonal 2 dimensional Area. A convex hull is build from the list of points when an object is instantiated.
Constructors
-
PolygonalArea({required List<
Point> points}) -
PolygonalArea.fromJson(Map<
String, dynamic> json)
Properties
Methods
-
copy(
) → Area -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pointInArea(
Point point) → bool -
A raycast checks if the
point
is inside the convexHullPoints.override -
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited