Area class
Functions for computing area.
@author Martin Davis
Constructors
- Area()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
ofRing(
List< Coordinate> ring) → double - Computes the area for a ring.
-
ofRingSeq(
CoordinateSequence ring) → double - Computes the area for a ring.
-
ofRingSigned(
List< Coordinate> ring) → double - Computes the signed area for a ring. The signed area is positive if the ring is oriented CW, negative if the ring is oriented CCW, and zero if the ring is degenerate or flat.
-
ofRingSignedSeq(
CoordinateSequence ring) → double - Computes the signed area for a ring. The signed area is: