Navigine iOS/Android/Flutter SDK
1.0.0
Objective-C/Java/Dart SDK API
Loading...
Searching...
No Matches
GeometryUtils.java
Go to the documentation of this file.
1
package
com.navigine.idl.java;
2
14
public
abstract
class
GeometryUtils
{
15
21
public
abstract
boolean
isValid
();
38
public
static
float
distanceBetweenGlobalPoints
(
GlobalPoint
from,
GlobalPoint
to)
39
{
40
return
com.navigine.idl.java.internal.GeometryUtilsBinding.distanceBetweenGlobalPoints(from,
41
to);
42
}
43
60
public
static
float
distanceBetweenPoints
(
Point
from,
Point
to)
61
{
62
return
com.navigine.idl.java.internal.GeometryUtilsBinding.distanceBetweenPoints(from,
63
to);
64
}
65
81
public
static
float
segmentLength
(
Segment
segment)
82
{
83
return
com.navigine.idl.java.internal.GeometryUtilsBinding.segmentLength(segment);
84
}
85
101
public
static
float
polygonArea
(
Polygon
polygon)
102
{
103
return
com.navigine.idl.java.internal.GeometryUtilsBinding.polygonArea(polygon);
104
}
105
121
public
static
Point
polygonCenter
(
Polygon
polygon)
122
{
123
return
com.navigine.idl.java.internal.GeometryUtilsBinding.polygonCenter(polygon);
124
}
125
142
public
static
boolean
polygonContainsPoint
(
Polygon
polygon,
Point
point)
143
{
144
return
com.navigine.idl.java.internal.GeometryUtilsBinding.polygonContainsPoint(polygon,
145
point);
146
}
147
164
public
static
float
segmentPointDistance
(
Segment
segment,
Point
point)
165
{
166
return
com.navigine.idl.java.internal.GeometryUtilsBinding.segmentPointDistance(segment,
167
point);
168
}
169
186
public
static
boolean
segmentIntersectsSegment
(
Segment
segment1,
Segment
segment2)
187
{
188
return
com.navigine.idl.java.internal.GeometryUtilsBinding.segmentIntersectsSegment(segment1,
189
segment2);
190
}
191
208
public
static
Point
segmentIntersectionSegment
(
Segment
segment1,
Segment
segment2)
209
{
210
return
com.navigine.idl.java.internal.GeometryUtilsBinding.segmentIntersectionSegment(segment1,
211
segment2);
212
}
213
230
public
static
float
divisionRatioBySegment
(
Segment
segment1,
Segment
segment2)
231
{
232
return
com.navigine.idl.java.internal.GeometryUtilsBinding.divisionRatioBySegment(segment1,
233
segment2);
234
}
235
252
public
static
Point
getRatioPoint
(
Segment
segment,
double
r)
253
{
254
return
com.navigine.idl.java.internal.GeometryUtilsBinding.getRatioPoint(segment,
255
r);
256
}
257
275
public
static
double
getProjectionRatio
(
Segment
segment,
Point
point)
276
{
277
return
com.navigine.idl.java.internal.GeometryUtilsBinding.getProjectionRatio(segment,
278
point);
279
}
280
}
java
com
navigine
idl
java
GeometryUtils.java
Generated on Tue Jul 28 2026 10:20:58 for Navigine iOS/Android/Flutter SDK by
Doxygen
1.13.2