This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPointSnapper Interface > IPointSnapper.TangentInputPoint Property (ArcObjects .NET 10.4 SDK) |
Sets the input point used for calculating tangent points along curves.
[Visual Basic .NET] Public Property TangentInputPoint As IPoint
[C#] public IPoint TangentInputPoint {get; set;}
[C++]
HRESULT get_TangentInputPoint(
IPoint** point
);
[C++]
HRESULT putref_TangentInputPoint(
IPoint* point
);
[C++]
Parameters point [out, retval]
point is a parameter of type IPoint point [in]
point is a parameter of type IPoint
TangentInputPoint defines the location from which points of tangency along curved segments are calculated. In most cases this is the last point in a polyline geometry. If the tangentInputPoint is not specified, no snapping to tangents of curved segments will occur. Once specified, set the tangentInputPoint to null to ensure any points of tangency are made from the correct point.
In practice, when writing a tool that utilizes snapping, it is the developer�s responsibility to ensure the tangentInputPoint is updated and its lifetime is maintained properly.