MCPcopy Create free account
hub / github.com/Kitware/VTK / IsAttributeLinear

Method IsAttributeLinear

Testing/GenericBridge/vtkBridgeCell.cxx:191–197  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Does the attribute `a' have no higher-order interpolation for the cell? \pre a_exists: a!=0 \post definition: result==(GetAttributeOrder()==1)

Source from the content-addressed store, hash-verified

189// \pre a_exists: a!=0
190// \post definition: result==(GetAttributeOrder()==1)
191vtkTypeBool vtkBridgeCell::IsAttributeLinear(vtkGenericAttribute* a)
192{
193 (void)a; // The attribute order is the order of the geometry.
194 int result = this->IsGeometryLinear();
195 assert("post: definition" && result == (GetAttributeOrder(a) == 1));
196 return result;
197}
198
199//------------------------------------------------------------------------------
200// Description:

Callers

nothing calls this directly

Calls 2

IsGeometryLinearMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected