public void QueryCoords( out MapPoint startPoint, out MapPoint endPoint )
Public Sub QueryCoords( _ ByRef startPoint As MapPoint, _ ByRef endPoint As MapPoint _ )
Parameters
- startPoint
- The start point.
- endPoint
- The end point.
public void QueryCoords( out MapPoint startPoint, out MapPoint endPoint )
Public Sub QueryCoords( _ ByRef startPoint As MapPoint, _ ByRef endPoint As MapPoint _ )
// builderEx constructors don't need to run on the MCT LineBuilderEx lbuilderEx = new LineBuilderEx(lineSegment); // find the existing coordinates lbuilderEx.QueryCoords(out startPt, out endPt); // or use //startPt = lbuilderEx.StartPoint; //endPt = lbuilderEx.EndPoint; // update the coordinates lbuilderEx.SetCoords(GeometryEngine.Instance.Move(startPt, 10, 10) as MapPoint, GeometryEngine.Instance.Move(endPt, -10, -10) as MapPoint); // or use //lbuilderEx.StartPoint = GeometryEngine.Instance.Move(startPt, 10, 10) as MapPoint; //lbuilderEx.EndPoint = GeometryEngine.Instance.Move(endPt, -10, -10) as MapPoint; LineSegment segment2 = lbuilderEx.ToSegment() as LineSegment;
Target Platforms: Windows 11, Windows 10