CADability dotNET
Calculates the points where the direction of the curve is parallel to the direction of the given angle. For circles and ellipses it reveals all possible solutions, for other curves (e.g. BSpline) it reveals only the closest solution to the point "CloseTo".

Namespace: CADability.Curve2D
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
GeoPoint2D[] TangentPointsToAngle(
	Angle ang,
	GeoPoint2D CloseTo
)
Visual Basic
Function TangentPointsToAngle ( _
	ang As Angle, _
	CloseTo As GeoPoint2D _
) As GeoPoint2D()
Visual C++
array<GeoPoint2D>^ TangentPointsToAngle(
	Angle ang, 
	GeoPoint2D CloseTo
)

Parameters

ang
Type: CADability..::..Angle
the angle of the tangent
CloseTo
Type: CADability..::..GeoPoint2D
Find the solution close to this point

Return Value

array of tangential points

See Also