Subject: CGAL users discussion list
List archive
- From: sean <>
- To:
- Subject: Re: [cgal-discuss] A problem on sdf example
- Date: Sun, 20 Jul 2014 23:49:36 -0700 (PDT)
Thank you for your answer and my code is as follows:
class MeshSegmentation//the class
{
private:
//sdf
// create a property-map
typedef map<Polyhedron::Facet_const_handle, double> Facet_double_map;
Facet_double_map internal_map;
boost::associative_property_map<Facet_double_map> sdf_property_map;
Polyhedron m_pPolyhedron;
public:
MeshSegmentation(Polyhedron&
pPolyhedron):sdf_property_map(internal_map),m_pPolyhedron(pPolyhedron){}
void SDFSegmentation(const Polyhedron &polyhedron, SDFPropertyMap
sdf_values_map);
};
void MeshSegmentation::SDFSegmentation(const Polyhedron &polyhedron,
SDFPropertyMap sdf_values_map)
{
// compute SDF values
std::pair<double, double> min_max_sdf = CGAL::sdf_values(polyhedron,
sdf_values_map);
}
The compiler can't identify "SDFPropertyMap "
Three ".h" files, " <CGAL/IO/Polyhedron_iostream.h>
<CGAL/mesh_segmentation.h> <CGAL/property_map.h>" was included in my code.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/A-problem-on-sdf-example-tp4659574p4659580.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] A problem on sdf example, sean, 07/20/2014
- Re: [cgal-discuss] A problem on sdf example, sean, 07/21/2014
- Re: [cgal-discuss] A problem on sdf example, Sebastien Loriot (GeometryFactory), 07/21/2014
- Re: [cgal-discuss] A problem on sdf example, sean, 07/21/2014
- Re: [cgal-discuss] A problem on sdf example, Sebastien Loriot (GeometryFactory), 07/21/2014
- Re: [cgal-discuss] A problem on sdf example, sean, 07/21/2014
- Re: [cgal-discuss] A problem on sdf example, Sebastien Loriot (GeometryFactory), 07/21/2014
- Re: [cgal-discuss] A problem on sdf example, sean, 07/21/2014
- Re: [cgal-discuss] A problem on sdf example, Sebastien Loriot (GeometryFactory), 07/21/2014
- Re: [cgal-discuss] A problem on sdf example, sean, 07/21/2014
Archive powered by MHonArc 2.6.18.