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

Method ComputeArea

Common/DataModel/vtkPolygon.cxx:79–85  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

77
78//------------------------------------------------------------------------------
79double vtkPolygon::ComputeArea()
80{
81 double normal[3]; // not used, but required for the
82 // following ComputeArea call
83 return vtkPolygon::ComputeArea(
84 this->GetPoints(), this->GetNumberOfPoints(), this->GetPointIds()->GetPointer(0), normal);
85}
86
87//------------------------------------------------------------------------------
88bool vtkPolygon::IsConvex()

Callers 9

testMethod · 0.45
TestTriangleFunction · 0.45
TestPolygonFunction · 0.45
RequestDataMethod · 0.45
ComputeMetricMethod · 0.45
TestReebGraphFunction · 0.45
IntegratePolygonMethod · 0.45

Calls 6

ComputeNormalFunction · 0.70
GetPointsMethod · 0.45
GetNumberOfPointsMethod · 0.45
GetPointerMethod · 0.45
GetPointIdsMethod · 0.45
GetPointMethod · 0.45

Tested by 6

testMethod · 0.36
TestTriangleFunction · 0.36
TestPolygonFunction · 0.36
RequestDataMethod · 0.36
ComputeMetricMethod · 0.36
TestReebGraphFunction · 0.36