Vertex#
- class ansys.geometry.core.designer.vertex.Vertex(id: str, position: numpy.ndarray | ansys.geometry.core.typing.RealSequence, body: ansys.geometry.core.designer.body.Body)#
Bases:
ansys.geometry.core.math.point.Point3DRepresents a single vertex of a body within the design assembly.
This class synchronizes to a design within a supporting Geometry service instance.
- Parameters:
- id
str The unique identifier for the vertex.
- position
np.ndarrayorRealSequence The position of the vertex in 3D space.
- id
Overview#
Get all named selections that include this vertex. |
Return a string representation of the vertex. |
Import detail#
from ansys.geometry.core.designer.vertex import Vertex
Property detail#
- property Vertex.body: ansys.geometry.core.designer.body.Body#
Get the body this vertex belongs to.
Method detail#
- Vertex.get_named_selections() list[ansys.geometry.core.designer.selection.NamedSelection]#
Get all named selections that include this vertex.
- Returns:
list[“NamedSelection”]List of named selections that include this vertex.