Dear support,
I'm facing a new problem today.
I'm building a polygon shape from a text file using this code:
l.Open();
l.EditTools.BeginTransaction();
PolygonShape pg = new PolygonShape();
foreach xxx
{
pg.OuterRing.Vertices.Add(new Vertex(p.x, p.y));
}
l.EditTools.Add(pg, xxx);
l.EditTools.CommitTransaction();
l.Close();
When I try to build a triangle (3 vertices) polygone, I get an exception : "a Polygon needs more than 4 vertices"
Is there something wrong in my code and if yes, how to build a 3 vertices polygon ?
Regards,
Patrick