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

Method GetCenter

Common/DataModel/vtkBoundingBox.h:541–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541inline void vtkBoundingBox::GetCenter(double center[3]) const
542{
543 center[0] = 0.5 * (this->MaxPnt[0] + this->MinPnt[0]);
544 center[1] = 0.5 * (this->MaxPnt[1] + this->MinPnt[1]);
545 center[2] = 0.5 * (this->MaxPnt[2] + this->MinPnt[2]);
546}
547
548inline bool vtkBoundingBox::IsSubsetOf(const vtkBoundingBox& bbox) const
549{

Callers 1

ScaleAboutCenterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected