EdgePlot#

class ansys.geometry.core.plotting.plotting_types.EdgePlot(actor: pyvista.Actor, edge_object: ansys.geometry.core.designer.edge.Edge, parent: GeomObjectPlot = None)#

Mapper class to relate PyAnsys Geometry edges with its PyVista actor.

Parameters:
actorActor

PyVista actor that represents the edge.

edge_objectEdge

PyAnsys Geometry edge that is represented by the PyVista actor.

parentGeomObjectPlot, optional

Parent PyAnsys Geometry object of this edge, by default None.

Overview#

actor

Return PyVista actor of the object.

edge_object

Return the PyAnsys Geometry edge.

parent

Parent PyAnsys Geometry object of this edge.

name

Return the name of the edge.

Import detail#

from ansys.geometry.core.plotting.plotting_types import EdgePlot

Property detail#

property EdgePlot.actor: pyvista.Actor#

Return PyVista actor of the object.

Returns:
Actor

PyVista actor.

property EdgePlot.edge_object: ansys.geometry.core.designer.edge.Edge#

Return the PyAnsys Geometry edge.

Returns:
Edge

PyAnsys Geometry edge.

property EdgePlot.parent: beartype.typing.Any#

Parent PyAnsys Geometry object of this edge.

Returns:
Any

PyAnsys Geometry object.

property EdgePlot.name: str#

Return the name of the edge.

Returns:
str

Name of the edge.