Skip to content

How to construct a carve::mesh::MeshSet<3> meshset if number of facet is zero? #57

@GoogleCodeExporter

Description

@GoogleCodeExporter
Dear all,

Usually we can construct a meshset by the following lines:
...
  std::vector<carve::mesh::MeshSet<3>::vertex_t> verts;
  std::vector<carve::mesh::MeshSet<3>::face_t *> faces;
...
  carve::mesh::MeshSet<3> poly(faces);
...

Usually if all nodes are vertices of facets, all nodes and faces are included 
in the meshset. However, if in this set the number of faces is zero, all the 
sizes of verts and faces would be zero in poly. Furthermore, if there are only 
one triangle (faces) but there are 4 nodes, if we construct the meshset as 
above, the one node which are not the vertex of triangle is missed. How to do 
to let all nodes are included in the meshset?


Thanks,
Tang Laoya

Original issue reported on code.google.com by [email protected] on 19 Apr 2014 at 2:59

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions