Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ben Boeckel
VTK
Commits
0410a8be
Commit
0410a8be
authored
5 years ago
by
Ben Boeckel
Browse files
Options
Downloads
Patches
Plain Diff
clang-format: help out some comment formatting
parent
cf111cf6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Common/DataModel/Testing/Cxx/TestPolygon.cxx
+3
-3
3 additions, 3 deletions
Common/DataModel/Testing/Cxx/TestPolygon.cxx
Filters/General/vtkMultiThreshold.h
+2
-0
2 additions, 0 deletions
Filters/General/vtkMultiThreshold.h
with
5 additions
and
3 deletions
Common/DataModel/Testing/Cxx/TestPolygon.cxx
+
3
−
3
View file @
0410a8be
...
...
@@ -162,7 +162,7 @@ int TestPolygon(int,char *[])
// return the element to its original state.
polygon
->
GetPoints
()
->
SetPoint
(
3
,
0.0
,
2.0
,
0.0
);
//
//////
Test Normal : void vtkPolygon::ComputeNormal (int numPts, double *pts, double n[3])
///////////
// Test Normal : void vtkPolygon::ComputeNormal (int numPts, double *pts, double n[3])
double
normal
[
3
];
double
points
[
12
];
for
(
int
i
=
0
;
i
<
polygon
->
GetNumberOfPoints
();
i
++
)
...
...
@@ -182,7 +182,7 @@ int TestPolygon(int,char *[])
return
EXIT_FAILURE
;
}
//
///////
Test Normal : void vtkPolygon::ComputeNormal(vtkIdTypeArray *ids, vtkPoints *p, double n[3])
/////////
// Test Normal : void vtkPolygon::ComputeNormal(vtkIdTypeArray *ids, vtkPoints *p, double n[3])
vtkSmartPointer
<
vtkIdTypeArray
>
idArray
=
vtkSmartPointer
<
vtkIdTypeArray
>::
New
();
for
(
int
i
=
0
;
i
<
polygon
->
GetNumberOfPoints
();
i
++
)
{
...
...
@@ -195,7 +195,7 @@ int TestPolygon(int,char *[])
return
EXIT_FAILURE
;
}
//
//////////////////
Polygon intersection test
//////////////////
// Polygon intersection test
{
vtkSmartPointer
<
vtkPolygon
>
polygon1
=
vtkSmartPointer
<
vtkPolygon
>::
New
();
...
...
This diff is collapsed.
Click to expand it.
Filters/General/vtkMultiThreshold.h
+
2
−
0
View file @
0410a8be
...
...
@@ -82,6 +82,7 @@
* If we had also called <code>thr->OutputSet( intervalSets[0] );</code>, there would be two child meshes and
* one would contain all cells with T < 320 [K].
* In that case, the output can be represented by this graph
*
* \dot
* digraph MultiThreshold {
* set0 [shape=rect,style=filled,label="point T(0) in [-Inf,320["]
...
...
@@ -95,6 +96,7 @@
* set3 -> set4
* }
* \enddot
*
* The filled rectangles represent sets that are output.
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment