gf_mesher_object_get¶
Synopsis
s = gf_mesher_object_get(mesher_object MO, 'char')
d = gf_mesher_object_get(mesher_object MO, 'distance', mat PTS)
Q = gf_mesher_object_get(mesher_object MO, 'project', mat PTS)
gf_mesher_object_get(mesher_object MO, 'display')
Description :
General function for querying information about mesher_object objects.
Command list :
s = gf_mesher_object_get(mesher_object MO, 'char')Output a (unique) string representation of the mesher_object.
This can be used to perform comparisons between two different mesher_object objects. This function is to be completed.
d = gf_mesher_object_get(mesher_object MO, 'distance', mat PTS)The signed distance of the mesher_object at the points PTS (one point per column): negative inside, zero on its boundary (not exactly the euclidean distance for every object, see the mesher).
Q = gf_mesher_object_get(mesher_object MO, 'project', mat PTS)The points PTS (one point per column) projected on the boundary of the mesher_object (on its zero level, by Newton iterations along the gradient of its signed distance), e.g. the new boundary nodes of a refined mesh. A point already on it stays; a point whose projection fails stays too.
gf_mesher_object_get(mesher_object MO, 'display')displays a short summary for a mesher_object object.
