|
![]() |
Renders a 2D triangle in the XY plane at the current Z depth.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
Visual Basic |
---|
Public Sub Triangle ( _ point1 As Point2D, _ point2 As Point2D, _ point3 As Point2D, _ filled As Boolean _ ) |
C# |
---|
public void Triangle( Point2D point1, Point2D point2, Point2D point3, bool filled ) |
Visual C++ |
---|
public: void Triangle( Point2D^ point1, Point2D^ point2, Point2D^ point3, bool filled ) |
Parameters
- point1
- Type: Autodesk.Navisworks.Api..::..Point2D
First point of triangle.
- point2
- Type: Autodesk.Navisworks.Api..::..Point2D
Second point of triangle.
- point3
- Type: Autodesk.Navisworks.Api..::..Point2D
Third point of triangle.
- filled
- Type: System..::..Boolean
Should the triangle be filled in or an outline.
Exceptions
Exception | Condition |
---|---|
System..::..ObjectDisposedException | Object has been Disposed |
System..::..NotSupportedException | Object is Read-Only |
System..::..ArgumentNullException | Argument 'point1' is null |
System..::..ArgumentException | Argument 'point1' has been Disposed |
System..::..ArgumentNullException | Argument 'point2' is null |
System..::..ArgumentException | Argument 'point2' has been Disposed |
System..::..ArgumentNullException | Argument 'point3' is null |
System..::..ArgumentException | Argument 'point3' has been Disposed |