GeometryUtils$Impl class
- Implemented types
Constructors
-
GeometryUtils$Impl(Pointer<
Void> handle)
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
-
distanceBetweenGlobalPoints(
GlobalPoint from, GlobalPoint to) → double -
Get distance between GPS points
fromstart point of calculation GlobalPointtoend point of calculation GlobalPoint Returns distance in metersoverride -
distanceBetweenPoints(
Point from, Point to) → double -
Get distance between points
fromstart point of calculation Pointtoend point of calculation Point Returns distance in metersoverride -
divisionRatioBySegment(
Segment segment1, Segment segment2) → double -
Calculate the division ratio of a segment by a given segment(if intersects)
segment1first segment of calculation Segmentsegment2second segment of calculation Segment Returns division ratiooverride -
getProjectionRatio(
Segment segment, Point point) → double -
Calculate the division ratio of a segment by a given point
Calculate projection point on a segment
segmentsegment of calculation Segmentpointpoint of calculation Point Returns division ratiooverride -
getRatioPoint(
Segment segment, double r) → Point -
Calculate projection point on a segment
segmentsegment of calculation Segmentrdivision ratio Returns ratio point Pointoverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
polygonArea(
Polygon polygon) → double -
Get polygon area
polygonpolygon object for calculation Polygon Returns area in metersoverride -
polygonCenter(
Polygon polygon) → Point -
Get polygon geometric center
polygonpolygon object for calculation Polygon Returns center point Pointoverride -
polygonContainsPoint(
Polygon polygon, Point point) → bool -
Checks that polygon contains point
polygonpolygon object in which looking for contents Polygonpointchecking point object Point Returns contains or notoverride -
segmentIntersectionSegment(
Segment segment1, Segment segment2) → Point -
Calculate the intersection point of two segments
segment1first segment of calculation Segmentsegment2second segment of calculation Segment Returns intersection point Pointoverride -
segmentIntersectsSegment(
Segment segment1, Segment segment2) → bool -
Checks the intersection of two segments
segment1first segment of calculation Segmentsegment2second segment of calculation Segment Returns intersects or notoverride -
segmentLength(
Segment segment) → double -
Get length of segment
segmentsegment object for calculation Segment Returns length in metersoverride -
segmentPointDistance(
Segment segment, Point point) → double -
Get distance from segment to point
segmentstart segment of calculation Segmentpointend point of calculation Point Returns distance in metersoverride -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited