|
|
Renders a 3D triangle.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub Triangle ( _ point1 As Point3D, _ point2 As Point3D, _ point3 As Point3D, _ filled As Boolean _ ) |
| C# |
|---|
public void Triangle( Point3D point1, Point3D point2, Point3D point3, bool filled ) |
| Visual C++ |
|---|
public: void Triangle( Point3D^ point1, Point3D^ point2, Point3D^ point3, bool filled ) |
Parameters
- point1
- Type: Autodesk.Navisworks.Api..::..Point3D
First point on triangle.
- point2
- Type: Autodesk.Navisworks.Api..::..Point3D
Second point on triangle.
- point3
- Type: Autodesk.Navisworks.Api..::..Point3D
Third point on 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 |