Vertex#

class ansys.geometry.core.designer.vertex.Vertex(id: str, position: numpy.ndarray | ansys.geometry.core.typing.RealSequence)#

Bases: ansys.geometry.core.math.point.Point3D

Represents a single vertex of a body within the design assembly.

This class synchronizes to a design within a supporting Geometry service instance.

Parameters:
idstr

The unique identifier for the vertex.

positionnp.ndarray or RealSequence

The position of the vertex in 3D space.

Overview#

id

Get the unique identifier of the vertex.

__repr__

Return a string representation of the vertex.

Import detail#

from ansys.geometry.core.designer.vertex import Vertex

Property detail#

property Vertex.id: str#

Get the unique identifier of the vertex.

Method detail#

Vertex.__repr__() str#

Return a string representation of the vertex.