toNative static method
Implementation
static SegmentNative toNative(Segment obj) {
return _SegmentNativeInit(
mapkit_geometry_point.PointImpl.toNative(obj.startPoint),
mapkit_geometry_point.PointImpl.toNative(obj.endPoint));
}
static SegmentNative toNative(Segment obj) {
return _SegmentNativeInit(
mapkit_geometry_point.PointImpl.toNative(obj.startPoint),
mapkit_geometry_point.PointImpl.toNative(obj.endPoint));
}