This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IB > IBezierCurve Interface > IBezierCurve.QueryChordLengthTangentAtFrom Method (ArcObjects .NET 10.4 SDK) |
Returns tangent vector at 'from' point, based on chord length parametrization; and whether it has been set by user or by smoothing process.
[Visual Basic .NET] Public Sub QueryChordLengthTangentAtFrom ( _ ByVal tangent As IPoint, _ ByRef setByUser As Boolean _ )
[C#] public void QueryChordLengthTangentAtFrom ( IPoint tangent, ref bool setByUser );
[C++]
HRESULT QueryChordLengthTangentAtFrom(
IPoint* tangent,
VARIANT_BOOL* setByUser
);
[C++]
Parameters tangent
tangent is a parameter of type IPoint setByUser [in, out] setByUser is a parameter of type VARIANT_BOOL
Returns the ChordLength Tangent at the From Point of the BezierCurve along with a flag indicating whether this ChordLength Tangent was set by the user or defined from Control Points. The ChordLength Tangent is not the same as the internal Control Points or the Tangent at the From Point although both lie on the same line. The coordinates of the returned point are in reality a Dx and Dy which can be added to the From point in order to get the tangent.