Implemented by ScalarVertexField, VectorVertexField<T>, or subclasses of the latter, vertex fields specify their values at the vertices of a mesh. They can be created with constructors such as
where mcomp is a mesh component containing the mesh, defaultValue is the default value, and name is a component name. For vector fields, the maspack.matrix.VectorObject type is parameterized by T, and type gives its actual class type (e.g., Vector3d.class).
All fields: | |
---|---|
boolean isValueSet(Vertex3d vtx) | query if value set for vertex vtx |
void clearValue(Vertex3d vtx) | unset value for vertex vtx |
void clearAllValues() | unset values for all vertices |