OCCBrepVertex
¤
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:
-
BrepVertex–The vertex.
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:
-
other(OCCBrepVertex) –The other vertex.
Returns:
-
bool–Trueif the vertices are equal,Falseotherwise.
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:
-
other(OCCBrepVertex) –The other vertex.
Returns:
-
bool–Trueif the vertices are the same,Falseotherwise.