Triangle
#
- class ansys.geometry.core.sketch.triangle.Triangle(point1: ansys.geometry.core.math.point.Point2D, point2: ansys.geometry.core.math.point.Point2D, point3: ansys.geometry.core.math.point.Point2D)#
Bases:
ansys.geometry.core.sketch.face.SketchFace
Provides for modeling 2D triangles.
- Parameters:
- point1: Point2D
Point that represents a triangle vertex.
- point2: Point2D
Point that represents a triangle vertex.
- point3: Point2D
Point that represents a triangle vertex.
Overview#
Triangle vertex 1. |
|
Triangle vertex 2. |
|
Triangle vertex 3. |
|
VTK polydata representation for PyVista visualization. |
Import detail#
from ansys.geometry.core.sketch.triangle import Triangle
Property detail#
- property Triangle.point1: ansys.geometry.core.math.point.Point2D#
Triangle vertex 1.
- property Triangle.point2: ansys.geometry.core.math.point.Point2D#
Triangle vertex 2.
- property Triangle.point3: ansys.geometry.core.math.point.Point2D#
Triangle vertex 3.
- property Triangle.visualization_polydata: pyvista.PolyData#
VTK polydata representation for PyVista visualization.
The representation lies in the X/Y plane within the standard global Cartesian coordinate system.
- Returns:
pyvista.PolyData
VTK pyvista.Polydata configuration.