CircularArea class

A circular implementation of an Area. m is the middle point of your circle while r is the radius. If you have two points instead you can use CircularArea.fromPoints to generate it from two points instead.

Inheritance

Constructors

CircularArea({required Point m, required double r})
CircularArea.fromJson(Map<String, dynamic> json)
CircularArea.fromPoints({required Point m, required Point rPoint})

Properties

hashCode int
The hash code for this object.
no setterinherited
m Point
no setter
passable bool
finalinherited
points List<Point>
finalinherited
r double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copy() Area
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pointInArea(Point point) bool
A method which checks if a certain point is in the Area
override
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited