Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Grid-based Hexahedral Mesh
- Date: Mon, 12 Oct 2020 09:53:23 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:cFyHrx0iJNtB6lnLsmDT+DRfVm0co7zxezQtwd8ZsesWI/XxwZ3uMQTl6Ol3ixeRBMOHsq0C1rSd6vm6EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCe/bL9oLBi7rArdutQLjYd8N6081gbHrnxUdupM2GhmP0iTnxHy5sex+J5s7SFdsO8/+sBDTKv3Yb02QaRXAzo6PW814tbrtQTYQguU+nQcSGQWnQFWDAXD8Rr3Q43+sir+tup6xSmaIcj7Rq06VDi+86tmTgLjhSEaPDA77W7XkNR9gr9FrhKvpxJxwIDab4+aO/V8YqzTcsgXRXZDU8tLSyBNHo2xYosJAuEcPehYtY79p14WoBewGAejGvjgxSVThn/q3K01zeIhGhzA0gwnBdIOsXPUrMnoP6sWUO660q7IzTDdYPNKwzf86IjGfQo9rvGQWrJwa8rQxUwhGwjYiViQsojlPzSP1uQMtGib8/BsVeeri2M8pAFxpyKgxsYoioXTmo0VzVXE+Dx/zY0oKtK2VFR1bsS4EJtMqS6aLY12T9sgTmx1uSs3xb0ItIC/cSUWx5oqxwPTZuCaf4SU4h/uUPqcLzl4in9ndryzmwi+/Emjx+DiSsS53llHoCpYn9TCsH0GyhLd6s+CSvRn/0eh3y6C1wHV6uFeIEA7j7DXK5A7wrM2i5EdslzDEzfolEnqiKKabEYp9+iy5+j5fLnqu4WQOoB1hw3mLKghgNCzDfk9PwcQQ2SU4+Gx2KP/8UHkRbhHgOc5nrfFvJ3fJskUvKC5DxNQ34sh5RuwEimq3dEEknYdL19IeBeKgJbrNl3QJv3zEO2xjE62kDhxwvDLJr3hDYvJLnjEiLrheKxy609YyAYqw9Ff/Y9YBqgPIP/8W0L9rtPYDhg+Mwy7x+boFs9x2Z8ZWWKKGqOZMaXSvkGU5u83PeWAeIsYtCz+JvUl/fLik2E1lUIHcaSm3JYbcHW4Ee5nI0Wdb3rsmNABEWISswolSOzqj0eCUT9UZ3auRa484zU7BZmpDYfGXI+tgbiB0D2nEZ1RY2BKEkqMHmvwd4WYR/cMbzqfLdNukjMeUbitUpIu1RC1tADm1rpnNfHU9zYDtZPj0dh1//fcmQsz9TxyFcSd0nuCQ3t6nmMSFHcL2rtiqxl91kubyvo/xOdJEMRaofJPSAYzc5DGiPdrDsj7HQPHcNDOQ1mvRpCqACo6U8kqkOIIeFt3J9iykkXDwzayGO1S0KeaAYQ9tKPaxXn4YchnjG3X0bEoyFggTMwIPmKvgutz9hPYGpXSwHmewq2lfKBZ0C/W/3qY1kKPultZWUh+S/brR3caMwHtoN7w/V/DQrnmLbM9MwxdgY6tJ6xPZ8HznHtPT+vkIsWfKSrlgGO3HxeP2vWJaKLlfmwc2GPWD01SwFNbxmqPKQVrXnTpmGnZFjE7TQu+MXOpyvF3rTaAdmFxygiLa0N70L/so0wagPWdT7UY2bdW4X58+QUxJ0602pftM/TFpwdle/8BM9Y04VMCyniA8gIhYNqvKKdtglNYeANy7Ru3i0dHT75YmM1vl0sEiRJoIPvBglxEfjKcm5v3P++PJw==
I think you should draw your projection normals as they might not be
what you expect.
Best regards,
Sebastien.
On 10/11/20 11:07 AM, Riccardo Mantini ( via cgal-discuss Mailing List) wrote:
Dear all,
I am trying to generate a rudimental full hexahedral mesh using the grid-based approach, CGAL library, in particular the linear cell complex class. To do this, I have followed the following steps:
0. Imported the object to mesh (figure1);
1. Created a structured grid over the object to mesh (figure2);
2. Removed the hexahedrons outside of the object boundary and the hexahedrons which intersect the boundary. Therefore I have found the initial mesh (figure3);
3. Selected only the hexahedrons more external of the initial mesh. For each of these hexahedrons, I have found the normal of each external vertex and the intersection between the normal and the object boundary. Then I have set the geometric point of the initial mesh on the intersection point found.
4. Drawn the linear cell complex (lcc) (figure4)
When I draw the lcc, I see many errors (figure4). It seems I moved points not in the right place. Can please anyone help me to find out where I am wrong?
I attached figures and part of the code, if more code or details are needed please ask.
Thank you all.
Best regards,
Riccardo
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] Grid-based Hexahedral Mesh, Riccardo Mantini, 10/11/2020
- Re: [cgal-discuss] Grid-based Hexahedral Mesh, Sebastien Loriot (GeometryFactory), 10/12/2020
Archive powered by MHonArc 2.6.19+.