ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / CubicBezierBuilderEx Class / QueryCoords Method
The start point.
Control point 1 of the cubic bezier.
Control point 2 of the cubic bezier.
The end point.
Example

In This Topic
    QueryCoords Method (CubicBezierBuilderEx)
    In This Topic
    Copies this builder's points.
    Syntax
    Public Sub QueryCoords( _
       ByRef startPoint As MapPoint, _
       ByRef controlPoint1 As Coordinate2D, _
       ByRef controlPoint2 As Coordinate2D, _
       ByRef endPoint As MapPoint _
    ) 

    Parameters

    startPoint
    The start point.
    controlPoint1
    Control point 1 of the cubic bezier.
    controlPoint2
    Control point 2 of the cubic bezier.
    endPoint
    The end point.
    Example
    Cubic Bezier Builder Properties
    // retrieve the bezier curve's control points
    
    CubicBezierBuilderEx cbbEx = new CubicBezierBuilderEx(bezierSegment);
    MapPoint startPtEx = cbbEx.StartPoint;
    Coordinate2D ctrlPt1Ex = cbbEx.ControlPoint1;
    Coordinate2D ctrlPt2Ex = cbbEx.ControlPoint2;
    MapPoint endPtEx = cbbEx.EndPoint;
         
    // or use the QueryCoords method
    cbbEx.QueryCoords(out startPtEx, out ctrlPt1Ex, out ctrlPt2Ex, out endPtEx);
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also