wrap.Geom.vertexIndToPointOnTriangle¶
-
Geom.
vertexIndToPointOnTriangle
(vertexInd)¶ Convert mesh’s vertex to corresponding wrap.PointOnTriangle
Parameters: vertexInd : vertex index in mesh Returns: instance of wrap.PointOnTriangle
corresponding to vertexIndExamples
g = wrap.Geom(wrap.demoModelsPath + "/HeadPolygroups_MakeHuman.obj") print g.vertexIndToPointOnTriangle(5) PointOnTriangle(triangleInd: 424 barycentric: 0 1)
New in version 1.3.1.