Hi There,

Here is an example

OpenMesh::FPropHandleT<bool> circular_cuties;
input_mesh.add_property(circular_cuties, "Circular Cuties");
for (face_iter f_it = input_mesh.faces_begin(); f_it != input_mesh.faces_end(); ++f_it) {
input_mesh.property(circular_cuties, *f_it) = false;
}

This is an example user the face iterator. I hope its useful :)

Kind regards,
S Vijai Kumar

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, March 12, 2019 6:49 AM, Billy Zinser <billy.zinser@gmail.com> wrote:

Hello again,

I am trying to add a float data type to each face in my mesh. I am following the storing custom properties tutorial but I am a little confused on how to assign each face with an actual value.

For example: 
 OpenMesh::FPropHandleT<float> fprop_float;
 mesh.add_property(fprop_float, "fprop_float");
 mesh.property(fprop_float).set_persistent(true);

 mesh.face(mesh.face_handle(1)) = 1.12;

Thank you very much for your help and quick responses.
- William