ArcObjects Library Reference  (Geometry)    

ICurve.QueryFromPoint Method

Copies this curve's 'from' point to the input point.

[Visual Basic 6.0]
Sub QueryFromPoint(
    ByVal from As IPoint _
)
[Visual Basic .NET]
Public Sub QueryFromPoint ( _
    ByVal from As IPoint _
)
[C#]
public void QueryFromPoint (
    IPoint from
);
[Java]
public void queryFromPoint (
    IPoint from
)
throws
    IOException,
    AutomationException
[C++]
HRESULT QueryFromPoint(
  IPoint* from
);
[C++]

Parameters

from

  from is a parameter of type IPoint

Product Availability

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

Description

Used to query the FromPoint 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.

QueryFromPoint Example

See Also

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

Example

/ICurve_QueryPoint(s)_Example

 


Feedback Send feedback on this page