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
@brief Get distance between GPS points @param from start point of calculation @see GlobalPoint "GlobalPoint" @param to end point of calculation @see GlobalPoint "GlobalPoint" @return distance in meters
override
distanceBetweenPoints(Point from, Point to) double
@brief Get distance between points @param from start point of calculation @see Point "Point" @param to end point of calculation @see Point "Point" @return distance in meters
override
divisionRatioBySegment(Segment segment1, Segment segment2) double
@brief Calculate the division ratio of a segment by a given segment(if intersects) @param segment1 first segment of calculation @see Segment "Segment" @param segment2 second segment of calculation @see Segment "Segment" @return division ratio
override
getProjectionRatio(Segment segment, Point point) double
@brief Calculate the division ratio of a segment by a given point Calculate projection point on a segment @param segment segment of calculation @see Segment "Segment" @param point point of calculation @see Point "Point" @return division ratio
override
getRatioPoint(Segment segment, double r) Point
@brief Calculate projection point on a segment @param segment segment of calculation @see Segment "Segment" @param r division ratio @return ratio point @see Point "Point"
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
polygonArea(Polygon polygon) double
@brief Get polygon area @param polygon polygon object for calculation @see Polygon "Polygon" @return area in meters
override
polygonCenter(Polygon polygon) Point
@brief Get polygon geometric center @param polygon polygon object for calculation @see Polygon "Polygon" @return center point @see Point "Point"
override
polygonContainsPoint(Polygon polygon, Point point) bool
@brief Checks that polygon contains point @param polygon polygon object in which looking for contents @see Polygon "Polygon" @param point checking point object @see Point "Point" @return contains or not
override
segmentIntersectionSegment(Segment segment1, Segment segment2) Point
@brief Calculate the intersection point of two segments @param segment1 first segment of calculation @see Segment "Segment" @param segment2 second segment of calculation @see Segment "Segment" @return intersection point @see Point "Point"
override
segmentIntersectsSegment(Segment segment1, Segment segment2) bool
@brief Checks the intersection of two segments @param segment1 first segment of calculation @see Segment "Segment" @param segment2 second segment of calculation @see Segment "Segment" @return intersects or not
override
segmentLength(Segment segment) double
@brief Get length of segment @param segment segment object for calculation @see Segment "Segment" @return length in meters
override
segmentPointDistance(Segment segment, Point point) double
@brief Get distance from segment to point @param segment start segment of calculation @see Segment "Segment" @param point end point of calculation @see Point "Point" @return distance in meters
override
toString() String
A string representation of this object.
inherited

Operators

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