This document is archived and information here might be outdated.  Recommended version.


ICurve.QueryToPoint Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IC > ICurve Interface > ICurve.QueryToPoint Method
ArcGIS Developer Help

ICurve.QueryToPoint Method

Copies the curve's 'to' point into the input point.

[Visual Basic .NET]
Public Sub QueryToPoint ( _
    ByVal to As IPoint _
)
[C#]
public void QueryToPoint (
    IPoint to
);
[C++]
HRESULT QueryToPoint(
  IPoint* to
);
[C++]
Parameters
to 

to is a parameter of type IPoint*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Used to query the ToPoint of the first Segment of the first part of the curve.

Remarks

Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.

QueryToPoint Example

See Also

ICurve Interface | IPoint Interface | ICurve.QueryFromPoint Method | ICurve.FromPoint Property | ICurve.ToPoint Property | ICurve.QueryToPoint Method