Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to find the adjacent faces of every edge?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to find the adjacent faces of every edge?


Chronological Thread 
  • From: sergio campo <>
  • To:
  • Subject: Re: [cgal-discuss] How to find the adjacent faces of every edge?
  • Date: Fri, 22 Jun 2018 12:23:54 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:C/n5LxLNsHKuP+bKNdmcpTZWNBhigK39O0sv0rFitYgeK/7xwZ3uMQTl6Ol3ixeRBMOHs68C07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwVFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhyUJNzA5/m/ZidF+grxHrx+6vRNz35TZbZuJOPZifK7Qe84RS2pbXsZWUixMGpi8YJUVD+oOPOZYqJT2qEcUohu7HQmsA/7kxzhWhnDswaI60uIhEQ7I3AwnBdIOt2/ZrNrwNKgIUOC1yLPEwinEb/NTwDrw7pXDfB4mofGJR71wcMzRxFEpFwzflVqfsojlMC2P2usRtGib6vJsVeOpi249qgF+uCKjxsk2ioTPm4kbyUjE+D1nzIopIdC0Uk12bN6+HJdOqy2XNJF6T8wjTmxupS000KcJuYShcygP0JknxwDQa/iAc4WQ5xLsTueRITNhiH17Zb2zmg++8Uavx+D9TMW031FKri1KktnIqH8BzQDc6s+CSvdl/0eh3yiA1xzL5+1aPUw5kbDXJp0hz7IqiJYfrUfOEjX5lUj3lKOWc18r+ums6+TpeLXmoZqcOpdqig7kLqsum8q/Aes2MggJRWib/v+x1LLm/ULjQbVKiuc6nbXesJDfPcgbvLK2AxdJ0oY/7BayFyup0NsCknkDNV5KZROHj5P1NFHTO/D4Fuyyg0+skTdu3/DJJKftApTLLnjZkbfuZ6xx60BGyFl78NZE+pgBCq0dOOmhHQjqpdnAB1k4NRa1yqDpEpJmx4YGUCWOBKGed6jduFvN6uM0KPSXf9wpv2P2JPEhovLvlnQkgkQ1fK+z3JJRZmrrMO5hJhCCbGDjg9BJGm4Ppg12GPLjg1yEXjBUfXGaUKc15zV9A4WjW9SQDruxiaCMiX/oVqZdYXpLXwjVQCXYMr6cUvJJUxq8Z8pokzgKT7+kEtZz2hSntQu8wL1ifLONpn8o8Kn73d0w3NX90Ako/GUtXcuY2mCJCWpzmzFQHmJk7OVEuUV4j2y7/+14jvhfT4EB4vpIVkI3OceZwbAkTd/1XQ3Fc5GCT1P0Gtg=

Ok thanks!

On Fri, Jun 22, 2018 at 11:55 AM, Shankar Kulumani <> wrote:
I think there's a circulator around the halfedges of each face. Then given a halfedge you can find the opposite face, by calling the opposite/inverse function, then store this face pointer ( since your dealing with the polyhedron mesh)

I'm not on my computer but can find the exact functions once I look at the docs again.



I have the following loop iterator:

void printAdjancenFaceToEdge(Polyhedron mesh)
{
    std::vector<int> nBorder(mesh.size_of_vertices(), 0);
    for (Polyhedron::Halfedge_const_iterator he = mesh.halfedges_begin(); he
!= mesh.halfedges_end(); he++) {
        if (!he->is_border())
            continue;

        // print here ids   
    }


    return true;
}
is it possible to print the adjacent faces index of every edge?



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page