'
' This example uses AddEdge and at some point adds a point in the interior
' of a quad. The edge is terminated using TerminateAddEdgeWithInteriorPoints
' to split the edge 3 at 27.8%
'
NewScene , false
CreatePrim "Grid", "MeshSurface"
SetValue "grid.polymsh.geom.subdivu", 1
SetValue "grid.polymsh.geom.subdivv", 1
SplitEdge "grid.edge[1]", 64.9271844660194, False, True, siPersistentOperation
ApplyTopoOp "AddEdge", "grid.pnt[LAST];grid.edge[1];grid.poly[0]"
AddPointInteriorToPolygon "grid.polymsh.addedgeop", 0, 0, 1, 2, 0.394370594438662, 0.102825667243581, 0.502803738317757
TerminateAddEdgeWithInteriorPoints "grid.polymsh.addedgeop", 0, 3, 27.7912621359223 |