Point vertex = null; SegmentUtils segmentUtils = new SegmentUtils(segment, this.spatialReference); if(start) { vertex = segmentUtils.getStartPoint(); } else { vertex = segmentUtils.getEndPoint(); } BufferUtils bufferUtils = new BufferUtils(vertex, this.spatialReference); Polygon polygon = bufferUtils.bufferPolygon(radius); Polyline polylineBuffer = PolygonToPolylineConverter.convert(polygon); Polyline polylineSegment = new Polyline(); polylineSegment.addSegment(segment, true); segment.getEndX(), res); GeometryEngine ge=new GeometryEngine(); Point point = null ; Geometry geometry = GeometryEngine.intersect(polylineSegment,polylineBuffer, spatialReference); return (Point) geometry;
I know this is an older post, but has anyone found a solution to getting the point from the geometry?
Thanks.