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

Method IsSubsetOf

Common/DataModel/vtkBoundingBox.h:548–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548inline bool vtkBoundingBox::IsSubsetOf(const vtkBoundingBox& bbox) const
549{
550 const double* bboxMaxPnt = bbox.GetMaxPoint();
551 const double* bboxMinPnt = bbox.GetMinPoint();
552 return this->MaxPnt[0] < bboxMaxPnt[0] && this->MinPnt[0] > bboxMinPnt[0] &&
553 this->MaxPnt[1] < bboxMaxPnt[1] && this->MinPnt[1] > bboxMinPnt[1] &&
554 this->MaxPnt[2] < bboxMaxPnt[2] && this->MinPnt[2] > bboxMinPnt[2];
555}
556
557inline void vtkBoundingBox::SetBounds(const double bounds[6])
558{

Callers 1

IntersectWithCellMethod · 0.80

Calls 2

GetMaxPointMethod · 0.80
GetMinPointMethod · 0.80

Tested by

no test coverage detected