Subject: CGAL users discussion list
List archive
- From: nolvis <>
- To:
- Subject: [cgal-discuss] CGAL surface mesh - modify vertex coordinates
- Date: Mon, 29 Jan 2018 09:03:09 -0700 (MST)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:gcR5JBAs3vIhQuYHkl6nUyQJP3N1i/DPJgcQr6AfoPdwSPv7pcbcNUDSrc9gkEXOFd2Cra4c0qyO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUmTaxe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJOT43/n/UhMJtg61UvB2vqgdjw4PWfI2ZKOZycr/Dcd4cWGFPXtxRVytEAo6kaYsPCO4BPfhZr4nmulADqhq/BQmxBOP1yT9Im3v23awh0+k6HgHG2RYvH9MKsHjOsNr1M6ISXPmzwaLVwzvDaPZW1i386IjOah0hp+uDUqlrfsrV10YjDR/KjlKVqYHjIjib1fwNvnCG4+dhS+6jkXArpgF/rzS128shhIfEipgXx1za8yhy3Zw7KseiSEFhZN6pCJtQuD+eN4txWs4iRW5ltDw8yrIcopG0ZywKx4o9yxHDbPyHdpCE4hPlVOmPPTd1nG9pdbOhixqo70StyuPxWtOp3FtEoCdJiNvBum4V2xzW8MeHS/99/km72TaI0gDe8uBFIUAplarBKJ4h37owlpsIsUnYES/2nV/5jK6Sdkk+5ueo7OHnbq38ppCAL490lh3+MqM2l8OjDuQ3KAwOU3GG9uS9z73s4VD5QK5RjvAtianYsJXaJdwBqaKjAg9V1Jwj6xelADu83tQYhypPEFUQcx2Oi83lOkrFPevjJfa5mVWl1jlxlN7cObi0BJLJMHnY2OPzfatn6FNYyREbwtVW5pYSAbYEdqGgEnTtvcDVW0dqeze/xPzqXY0kh9EuHFmXC6rcC5v89FqB5+YhOe6JPdZHtzP0Kvxj7Pnr3yRgxQ0tOJKx1J5SU0iWW+x8KhzAM3Xpi9YFV2wNu1hmFbG4uBi5STdWIk2Kcec86zU8Ud/0C9uFQImniriMmiy8G88Paw==
How do i modify CGAL surface mesh vertex index coordinates? For now i've
been trying to change coordinates of vertices like this:
for (auto vertex_iterator : mesh.vertices()) {
Point_3 p(1,0,1);
mesh.point(vertex_iterator) = p;
}
Code above is just a sample, i'm not assigning same coordinates to all
vertices.
After i try to do caluclations with it i get undefined results.
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] CGAL surface mesh - modify vertex coordinates, nolvis, 01/29/2018
- Re: [cgal-discuss] CGAL surface mesh - modify vertex coordinates, Sebastien Loriot (GeometryFactory), 01/29/2018
Archive powered by MHonArc 2.6.18.