Skip to content

OCCBrepVertex ¤

OCCBrepVertex(occ_vertex: TopoDS_Vertex)

Class representing a vertex in the BRep of a geometric shape.

Parameters:

  • occ_vertex (TopoDS_Vertex) –

    An OCC topological vertex data structure.

Attributes:

  • point (Point) –

    The geometric point underlying the topological vertex.

Functions¤

from_point classmethod ¤

from_point(point: Point) -> BrepVertex

Construct a vertex from a point.

Parameters:

  • point (Point) –

    The point.

Returns:

is_equal ¤

is_equal(other: OCCBrepVertex) -> bool

Check if this vertex is equal to another vertex.

Two vertices are equal if they have the same location and orientation.

Parameters:

Returns:

  • bool

    True if the vertices are equal, False otherwise.

is_same ¤

is_same(other: OCCBrepVertex) -> bool

Check if this vertex is the same as another vertex.

Two vertices are the same if they have the same location.

Parameters:

Returns:

  • bool

    True if the vertices are the same, False otherwise.

to_point ¤

to_point() -> Point

Convert the vertex to a point.

Returns: