MCPcopy
hub / github.com/CadQuery/cadquery / endPoint

Method endPoint

cadquery/occ_impl/shapes.py:2111–2122  ·  view source on GitHub ↗

:return: a vector representing the end point of this edge. Note, circles may have the start and end points the same

(self: Mixin1DProtocol)

Source from the content-addressed store, hash-verified

2109 return Vertex(v1).Center()
2110
2111 def endPoint(self: Mixin1DProtocol) -> Vector:
2112 """
2113
2114 :return: a vector representing the end point of this edge.
2115
2116 Note, circles may have the start and end points the same
2117 """
2118
2119 _, v2 = TopoDS_Vertex(), TopoDS_Vertex()
2120 ShapeAnalysis.FindBounds_s(self.wrapped, _, v2)
2121
2122 return Vertex(v2).Center()
2123
2124 def _approxCurve(self: Mixin1DProtocol) -> Geom_BSplineCurve:
2125 """

Callers 15

convert_and_validateFunction · 0.80
_endPointMethod · 0.80
solveMethod · 0.80
_findFromPointMethod · 0.80
tangentArcPointMethod · 0.80
closeMethod · 0.80
makeEllipseMethod · 0.80
_dxf_lineMethod · 0.80

Calls 2

VertexClass · 0.85
CenterMethod · 0.45