CircularArc3dExtensionGetTangentsTo Method (CircularArc3d, CircularArc3d, TangentType) |
Gets the tangents between the active CircularArc3d instance complete circle and another one.
Namespace:
Gile.AutoCAD.Geometry
Assembly:
GeometryExtensions (in GeometryExtensions.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static LineSegment3d[] GetTangentsTo(
this CircularArc3d arc,
CircularArc3d other,
TangentType flags
)
<ExtensionAttribute>
Public Shared Function GetTangentsTo (
arc As CircularArc3d,
other As CircularArc3d,
flags As TangentType
) As LineSegment3d()
public:
[ExtensionAttribute]
static array<LineSegment3d^>^ GetTangentsTo(
CircularArc3d^ arc,
CircularArc3d^ other,
TangentType flags
)
[<ExtensionAttribute>]
static member GetTangentsTo :
arc : CircularArc3d *
other : CircularArc3d *
flags : TangentType -> LineSegment3d[]
Parameters
- arc
- Type: CircularArc3d
The instance to which the method applies. - other
- Type: CircularArc3d
The CircularArc2d to which searched for tangents. - flags
- Type: Gile.AutoCAD.GeometryTangentType
An enum value specifying which type of tangent is returned.
Return Value
Type:
LineSegment3dAn array of LineSegment3d representing the tangents (maybe 2 or 4) or
null if there is none.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CircularArc3d. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
ExceptionsException | Condition |
---|
Exception |
eNonCoplanarGeometry is thrown if the objects do not lies on the same plane. |
Remarks
Tangents start points are on the object to which this method applies, end points on the one passed as argument.
Tangents are always returned in the same order: outer tangents before inner tangents, and for both,
the tangent on the left side of the line from this circular arc center to the other one before the other one.
See Also