STYLE: corrected multi-line comment warnings
This commit is contained in:
parent
5655312c17
commit
fe068c3bc9
@ -80,25 +80,30 @@ void Foam::faceAreaIntersect::triSliceWithPlane
|
||||
|| ((nPos == 2) && (nCoPlanar == 1))
|
||||
|| ((nPos == 1) && (nCoPlanar == 2)))
|
||||
{
|
||||
// all points above cutting plane - add triangle to list
|
||||
/*
|
||||
/\ _____
|
||||
/ \ \ / /\
|
||||
/____\ \ / / \
|
||||
__________ ____v____ __/____\__
|
||||
|
||||
// /\ _____
|
||||
// / \ \ / /\
|
||||
// /____\ \ / / \
|
||||
// __________ ____v____ __/____\__
|
||||
all points above cutting plane
|
||||
- add complete triangle to list
|
||||
*/
|
||||
|
||||
tris[nTris++] = tri;
|
||||
}
|
||||
else if ((nPos == 2) && (nCoPlanar == 0))
|
||||
{
|
||||
// 2 points above plane, 1 below
|
||||
// resulting quad above plane split into 2 triangles
|
||||
/*
|
||||
________
|
||||
\ /
|
||||
--\----/--
|
||||
\ /
|
||||
\/
|
||||
|
||||
// ________
|
||||
// \ /
|
||||
// --\----/--
|
||||
// \ /
|
||||
// \/
|
||||
2 points above plane, 1 below
|
||||
- resulting quad above plane split into 2 triangles
|
||||
*/
|
||||
|
||||
// point under the plane
|
||||
label i0 = negI;
|
||||
@ -123,12 +128,15 @@ void Foam::faceAreaIntersect::triSliceWithPlane
|
||||
|
||||
if (nCoPlanar == 0)
|
||||
{
|
||||
// 1 point above plane, 2 below
|
||||
/*
|
||||
/\
|
||||
/ \
|
||||
--/----\--
|
||||
/______\
|
||||
|
||||
// /\
|
||||
// / \
|
||||
// --/----\--
|
||||
// /______\
|
||||
1 point above plane, 2 below
|
||||
- keep triangle avove intersection plane
|
||||
*/
|
||||
|
||||
// indices of remaining points
|
||||
label i1 = d.fcIndex(i0);
|
||||
@ -144,14 +152,19 @@ void Foam::faceAreaIntersect::triSliceWithPlane
|
||||
}
|
||||
else
|
||||
{
|
||||
// 1 point above plane, 1 on plane, 1 below
|
||||
/*
|
||||
|
||||
// |\
|
||||
// | \
|
||||
// __|__\__
|
||||
// | /
|
||||
// | /
|
||||
// |/
|
||||
|\
|
||||
| \
|
||||
__|__\__
|
||||
| /
|
||||
| /
|
||||
|/
|
||||
|
||||
|
||||
1 point above plane, 1 on plane, 1 below
|
||||
- keep triangle above intersection plane
|
||||
*/
|
||||
|
||||
// point indices
|
||||
label i1 = negI;
|
||||
@ -173,14 +186,15 @@ void Foam::faceAreaIntersect::triSliceWithPlane
|
||||
}
|
||||
else
|
||||
{
|
||||
// all points below cutting plane - forget
|
||||
|
||||
// _________ __________ ___________
|
||||
// /\ \ /
|
||||
// /\ / \ \ /
|
||||
// / \ /____\ \/
|
||||
// /____\
|
||||
/*
|
||||
_________ __________ ___________
|
||||
/\ \ /
|
||||
/\ / \ \ /
|
||||
/ \ /____\ \/
|
||||
/____\
|
||||
|
||||
all points below cutting plane - forget
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user