MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / makePoint

Method makePoint

src/ifc2ca/templates/salome/scriptSalome.py:57–62  ·  view source on GitHub ↗

Function to define a Point from a polyline (list of 1 point)

(self, pl)

Source from the content-addressed store, hash-verified

55 return name
56
57 def makePoint(self, pl):
58 """Function to define a Point from
59 a polyline (list of 1 point)"""
60
61 (x, y, z) = pl
62 return self.geompy.MakeVertex(x, y, z)
63
64 def makeLine(self, pl):
65 """Function to define a Line from

Callers 1

makeObjectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected