Classes | |
class | location |
Functions | |
scalar | protectedDivide (const scalar a, const scalar b) |
Divide two numbers and protect the result from overflowing. More... | |
scalar | protectedDivideAndClip01 (const scalar a, const scalar b) |
Divide two numbers, protect the result from overflowing, and clip the. More... | |
template<class Type > | |
Ostream & | operator<< (Ostream &os, const FixedList< FixedList< Type, 3 >, 3 > &l) |
Print 3x3 FixedListLists on one line. More... | |
vector | clipped01 (const vector x, const FixedList< label, 3 > groups) |
Clip the given vector between values of 0 and 1, and also clip one minus. More... | |
vector | solveProjectionGivenT (const vector &C, const vector &Ct, const vector &Cu, const vector &Cv, const vector &Ctu, const vector &Ctv, const FixedList< label, 3 > groups, const scalar t) |
Solve a projection equation given a value of the t variable. More... | |
Tuple2< bool, vector > | solveProjection (const vector &C, const vector &Ct, const vector &Cu, const vector &Cv, const vector &Ctu, const vector &Ctv, const FixedList< label, 3 > groups) |
Solve a projection equation. More... | |
FixedList< FixedList< scalar, 3 >, 3 > | srcTgtEdgeOffset (const FixedList< point, 3 > &srcPs, const FixedList< vector, 3 > &srcNs, const FixedList< bool, 3 > &srcOwns, const FixedList< point, 3 > &tgtPs, const FixedList< bool, 3 > &tgtOwns) |
Calculate the non-dimensional offsets of the source points from the target. More... | |
FixedList< FixedList< scalar, 3 >, 3 > | tgtSrcEdgeOffset (const FixedList< point, 3 > &srcPs, const FixedList< vector, 3 > &srcNs, const FixedList< bool, 3 > &srcOwns, const FixedList< point, 3 > &tgtPs, const FixedList< bool, 3 > &tgtOwns) |
Calculate the non-dimensional offsets the target points from the source. More... | |
FixedList< FixedList< label, 3 >, 3 > | thisInOtherEdge (const FixedList< FixedList< scalar, 3 >, 3 > &thisOtherEdgeOffset) |
Construct point-inside/outside-edge topology from a set of point-edge. More... | |
FixedList< label, 3 > | thisInOtherTri (const FixedList< FixedList< label, 3 >, 3 > &thisInOtherEdge) |
Construct point-inside/outside-triangle topology from a set of. More... | |
FixedList< label, 3 > | tgtInSrcTri (const FixedList< point, 3 > &srcPs, const FixedList< vector, 3 > &srcNs, const FixedList< point, 3 > &tgtPs, const FixedList< FixedList< label, 3 >, 3 > &tgtInSrcEdge) |
Construct target-point-inside/outside-source-triangle topology from a set. More... | |
void | thisIsOther (const FixedList< label, 3 > &thisOtherPis, FixedList< FixedList< label, 3 >, 3 > &thisInOtherEdge, FixedList< label, 3 > &thisInOtherTri) |
Override results of the srcInTgt/tgtInSrc calculations with explicit. More... | |
void | srcInTgt (const FixedList< point, 3 > &srcPs, const FixedList< vector, 3 > &srcNs, const FixedList< bool, 3 > &srcOwns, const FixedList< label, 3 > &srcTgtPis, const FixedList< point, 3 > &tgtPs, const FixedList< bool, 3 > &tgtOwns, FixedList< FixedList< label, 3 >, 3 > &srcInTgtEdge, FixedList< label, 3 > &srcInTgtTri) |
Calculate whether the points of the given source triangle project inside or. More... | |
void | tgtInSrc (const FixedList< point, 3 > &srcPs, const FixedList< vector, 3 > &srcNs, const FixedList< bool, 3 > &srcOwns, const FixedList< point, 3 > &tgtPs, const FixedList< bool, 3 > &tgtOwns, const FixedList< label, 3 > &tgtSrcPis, FixedList< FixedList< label, 3 >, 3 > &tgtInSrcEdge, FixedList< label, 3 > &tgtInSrcTri) |
Calculate whether the points of the given target triangle project inside or. More... | |
bool | orderLocations (const UList< location > &locations, bool isSrcEdge, const label i0, label &nVisited, boolList &visited, labelList &order) |
Order intersection locations into a polygon. More... | |
bool | generateLocations (const FixedList< label, 3 > &tgtSrcPis, const FixedList< FixedList< label, 3 >, 3 > &srcInTgtEdge, const FixedList< FixedList< label, 3 >, 3 > &tgtInSrcEdge, const FixedList< label, 3 > &srcInTgtTri, const FixedList< label, 3 > &tgtInSrcTri, DynamicList< location > &pointLocations) |
Construct the intersection topology. More... | |
void | generateGeometry (const FixedList< point, 3 > &srcPs, const FixedList< vector, 3 > &srcNs, const FixedList< point, 3 > &tgtPs, DynamicList< point > &srcPoints, DynamicList< vector > &srcPointNormals, DynamicList< point > &tgtPoints, const DynamicList< location > &pointLocations) |
Construct the intersection geometry. More... | |
template<class PointField > | |
void | writePolygon (const word &name, const PointField &ps) |
Write a VTK file of a polygon. More... | |
void | writeTriProjection (const word &name, const FixedList< point, 3 > &srcTriPs, const FixedList< vector, 3 > &srcTriNs, const label nEdge=20, const label nNormal=20, const scalar lNormal=0.5) |
Write a VTK file of a triangle projection. More... | |
scalar | srcEdgeTgtPointOffset (const Pair< point > &srcPs, const Pair< vector > &srcNs, const point &tgtP) |
Calculate the signed offset of a target point in relation to a projected. More... | |
scalar | srcEdgeTgtPointOffset (const Pair< point > &srcPs, const Pair< vector > &srcNs, const point &tgtP, const bool srcDirection) |
Calculate the signed offset of a target point in relation to a projected. More... | |
scalar | srcPointTgtEdgeOffset (const point &srcP, const vector &srcN, const Pair< point > &tgtPs) |
Calculate the signed offset of a projected source point in relation to a. More... | |
scalar | srcPointTgtEdgeOffset (const point &srcPs, const vector &srcNs, const Pair< point > &tgtP, const bool tgtDirection) |
Calculate the signed offset of a projected source point in relation to a. More... | |
Pair< scalar > | srcEdgeTgtEdgeIntersection (const Pair< point > &srcPs, const Pair< vector > &srcNs, const Pair< point > &tgtPs) |
Calculate the intersection of a target edge with a source edge's. More... | |
barycentric2D | srcTriTgtPointIntersection (const FixedList< point, 3 > &srcPs, const FixedList< vector, 3 > &srcNs, const point &tgtP) |
Calculate the intersection of a target point with a source triangle's. More... | |
template<class Type > | |
Type | srcTriInterpolate (const barycentric2D &y, const FixedList< Type, 3 > &tgtPsis) |
Use the coordinates obtained from srcTriTgtPointIntersection to interpolate. More... | |
barycentric2D | srcPointTgtTriIntersection (const point &srcP, const vector &srcN, const FixedList< point, 3 > &tgtPs) |
Calculate the intersection of a projected source point with a target. More... | |
template<class Type > | |
Type | tgtTriInterpolate (const barycentric2D &y, const FixedList< Type, 3 > &tgtPsis) |
Use the coordinates obtained from srcPointTgtTriIntersection to interpolate. More... | |
void | intersectTris (const FixedList< point, 3 > &srcPs, const FixedList< vector, 3 > &srcNs, const FixedList< bool, 3 > &srcOwns, const FixedList< label, 3 > &srcTgtPis, const FixedList< point, 3 > &tgtPs, const FixedList< bool, 3 > &tgtOwns, const FixedList< label, 3 > &tgtSrcPis, DynamicList< point > &srcPoints, DynamicList< vector > &srcPointNormals, DynamicList< point > &tgtPoints, DynamicList< location > &pointLocations, const bool debug, const word &writePrefix=word::null) |
Construct the intersection of a source triangle's projected volume and a. More... | |
bool | operator== (const location &a, const location &b) |
bool | operator!= (const location &a, const location &b) |
Ostream & | operator<< (Ostream &, const location &) |
Variables | |
const scalar | maxDot = - cos(degToRad(80)) |
The maximum dot product between a source point normal and a target plane. More... | |
scalar Foam::triIntersect::protectedDivide | ( | const scalar | a, |
const scalar | b | ||
) |
Divide two numbers and protect the result from overflowing.
Definition at line 48 of file triIntersect.C.
References b, Foam::mag(), and Foam::sign().
Referenced by solveProjectionGivenT(), srcPointTgtEdgeOffset(), and srcTriTgtPointIntersection().
scalar Foam::triIntersect::protectedDivideAndClip01 | ( | const scalar | a, |
const scalar | b | ||
) |
Divide two numbers, protect the result from overflowing, and clip the.
result between 0 and 1
Definition at line 56 of file triIntersect.C.
Referenced by srcEdgeTgtEdgeIntersection(), and srcEdgeTgtPointOffset().
Ostream& Foam::triIntersect::operator<< | ( | Ostream & | os, |
const FixedList< FixedList< Type, 3 >, 3 > & | l | ||
) |
Print 3x3 FixedListLists on one line.
Definition at line 66 of file triIntersect.C.
References token::BEGIN_LIST, token::END_LIST, forAll, and token::SPACE.
Clip the given vector between values of 0 and 1, and also clip one minus.
its component sum. Clipping is applied to groups of components. It is done by moving the value linearly towards the value where all components in the group, and one minus their sum, share the same value.
Definition at line 83 of file triIntersect.C.
Referenced by solveProjection(), and solveProjectionGivenT().
vector Foam::triIntersect::solveProjectionGivenT | ( | const vector & | C, |
const vector & | Ct, | ||
const vector & | Cu, | ||
const vector & | Cv, | ||
const vector & | Ctu, | ||
const vector & | Ctv, | ||
const FixedList< label, 3 > | groups, | ||
const scalar | t | ||
) |
Solve a projection equation given a value of the t variable.
Definition at line 154 of file triIntersect.C.
References A, B, clipped01(), Foam::cof(), Cv(), Foam::det(), protectedDivide(), Vector2D< Cmpt >::x(), and Vector2D< Cmpt >::y().
Referenced by solveProjection(), and srcTriTgtPointIntersection().
Tuple2<bool, vector> Foam::triIntersect::solveProjection | ( | const vector & | C, |
const vector & | Ct, | ||
const vector & | Cu, | ||
const vector & | Cv, | ||
const vector & | Ctu, | ||
const vector & | Ctv, | ||
const FixedList< label, 3 > | groups | ||
) |
Solve a projection equation.
Definition at line 198 of file triIntersect.C.
References clipped01(), Foam::cmptMag(), Foam::cmptMax(), Foam::cmptSum(), Cv(), forAll, Foam::mag(), Foam::magSqr(), Foam::real, cubicEqn::roots(), solveProjectionGivenT(), Foam::Swap(), Roots< N >::type(), and VectorSpace< Form, Cmpt, Ncmpts >::uniform().
Referenced by srcEdgeTgtEdgeIntersection(), and srcTriTgtPointIntersection().
FixedList<FixedList<scalar, 3>, 3> Foam::triIntersect::srcTgtEdgeOffset | ( | const FixedList< point, 3 > & | srcPs, |
const FixedList< vector, 3 > & | srcNs, | ||
const FixedList< bool, 3 > & | srcOwns, | ||
const FixedList< point, 3 > & | tgtPs, | ||
const FixedList< bool, 3 > & | tgtOwns | ||
) |
Calculate the non-dimensional offsets of the source points from the target.
edges. These values are considered indicative only. The calculation is not as reliable as that for the target point offsets from the source edges (see below). The target point offsets should take precedence where possible.
Definition at line 302 of file triIntersect.C.
FixedList<FixedList<scalar, 3>, 3> Foam::triIntersect::tgtSrcEdgeOffset | ( | const FixedList< point, 3 > & | srcPs, |
const FixedList< vector, 3 > & | srcNs, | ||
const FixedList< bool, 3 > & | srcOwns, | ||
const FixedList< point, 3 > & | tgtPs, | ||
const FixedList< bool, 3 > & | tgtOwns | ||
) |
Calculate the non-dimensional offsets the target points from the source.
edges. These values are considered definitive, and should take precedence over the source point target edge offsets.
Definition at line 397 of file triIntersect.C.
FixedList<FixedList<label, 3>, 3> Foam::triIntersect::thisInOtherEdge | ( | const FixedList< FixedList< scalar, 3 >, 3 > & | thisOtherEdgeOffset | ) |
Construct point-inside/outside-edge topology from a set of point-edge.
offsets. Uses the sign of the offsets.
Definition at line 431 of file triIntersect.C.
FixedList<label, 3> Foam::triIntersect::thisInOtherTri | ( | const FixedList< FixedList< label, 3 >, 3 > & | thisInOtherEdge | ) |
Construct point-inside/outside-triangle topology from a set of.
point-inside/outside-edge topology
Definition at line 454 of file triIntersect.C.
FixedList<label, 3> Foam::triIntersect::tgtInSrcTri | ( | const FixedList< point, 3 > & | srcPs, |
const FixedList< vector, 3 > & | srcNs, | ||
const FixedList< point, 3 > & | tgtPs, | ||
const FixedList< FixedList< label, 3 >, 3 > & | tgtInSrcEdge | ||
) |
Construct target-point-inside/outside-source-triangle topology from a set.
of target-point-inside/outside-source-edge topology, and some additional geometric information to handle cases where the source normal direction is reversed relative to the target triangle
Definition at line 475 of file triIntersect.C.
Referenced by generateLocations(), and intersectTris().
void Foam::triIntersect::thisIsOther | ( | const FixedList< label, 3 > & | thisOtherPis, |
FixedList< FixedList< label, 3 >, 3 > & | thisInOtherEdge, | ||
FixedList< label, 3 > & | thisInOtherTri | ||
) |
Override results of the srcInTgt/tgtInSrc calculations with explicit.
connections between points on either side
Definition at line 508 of file triIntersect.C.
void Foam::triIntersect::srcInTgt | ( | const FixedList< point, 3 > & | srcPs, |
const FixedList< vector, 3 > & | srcNs, | ||
const FixedList< bool, 3 > & | srcOwns, | ||
const FixedList< label, 3 > & | srcTgtPis, | ||
const FixedList< point, 3 > & | tgtPs, | ||
const FixedList< bool, 3 > & | tgtOwns, | ||
FixedList< FixedList< label, 3 >, 3 > & | srcInTgtEdge, | ||
FixedList< label, 3 > & | srcInTgtTri | ||
) |
Calculate whether the points of the given source triangle project inside or.
outside the opposing target triangle and its edges
Definition at line 534 of file triIntersect.C.
Referenced by intersectTris().
void Foam::triIntersect::tgtInSrc | ( | const FixedList< point, 3 > & | srcPs, |
const FixedList< vector, 3 > & | srcNs, | ||
const FixedList< bool, 3 > & | srcOwns, | ||
const FixedList< point, 3 > & | tgtPs, | ||
const FixedList< bool, 3 > & | tgtOwns, | ||
const FixedList< label, 3 > & | tgtSrcPis, | ||
FixedList< FixedList< label, 3 >, 3 > & | tgtInSrcEdge, | ||
FixedList< label, 3 > & | tgtInSrcTri | ||
) |
Calculate whether the points of the given target triangle project inside or.
outside the opposing source triangle and its edges
Definition at line 559 of file triIntersect.C.
Referenced by intersectTris().
bool Foam::triIntersect::orderLocations | ( | const UList< location > & | locations, |
bool | isSrcEdge, | ||
const label | i0, | ||
label & | nVisited, | ||
boolList & | visited, | ||
labelList & | order | ||
) |
Order intersection locations into a polygon.
Definition at line 583 of file triIntersect.C.
References forAll, location::isIntersection(), location::isSrcAndTgtPoint(), location::isSrcNotTgtPoint(), location::isSrcPoint(), location::isTgtNotSrcPoint(), location::isTgtPoint(), Foam::order(), location::srcEdgei(), location::srcPointi(), location::tgtEdgei(), and location::tgtPointi().
bool Foam::triIntersect::generateLocations | ( | const FixedList< label, 3 > & | tgtSrcPis, |
const FixedList< FixedList< label, 3 >, 3 > & | srcInTgtEdge, | ||
const FixedList< FixedList< label, 3 >, 3 > & | tgtInSrcEdge, | ||
const FixedList< label, 3 > & | srcInTgtTri, | ||
const FixedList< label, 3 > & | tgtInSrcTri, | ||
DynamicList< location > & | pointLocations | ||
) |
Construct the intersection topology.
Definition at line 691 of file triIntersect.C.
References Foam::add(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), Foam::count(), UList< T >::empty(), Foam::findIndex(), UList< T >::first(), forAll, forAllReverse, Foam::inplaceReverseList(), location::intersection(), location::isIntersection(), location::isSrcAndTgtPoint(), UList< T >::last(), Foam::reverse(), location::srcEdgei(), location::srcPoint(), location::srcPointi(), location::srcTgtPoint(), Foam::Swap(), location::tgtEdgei(), tgtInSrcTri(), location::tgtPoint(), and location::tgtPointi().
Referenced by intersectTris().
void Foam::triIntersect::generateGeometry | ( | const FixedList< point, 3 > & | srcPs, |
const FixedList< vector, 3 > & | srcNs, | ||
const FixedList< point, 3 > & | tgtPs, | ||
DynamicList< point > & | srcPoints, | ||
DynamicList< vector > & | srcPointNormals, | ||
DynamicList< point > & | tgtPoints, | ||
const DynamicList< location > & | pointLocations | ||
) |
Construct the intersection geometry.
Definition at line 1154 of file triIntersect.C.
References Foam::cmptMin(), Foam::findMax(), Foam::findMin(), Pair< Type >::first(), forAll, location::isSrcAndTgtPoint(), location::isSrcPoint(), location::isTgtPoint(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::resize(), Pair< Type >::second(), List< T >::size(), location::srcEdgei(), srcEdgeTgtEdgeIntersection(), location::srcPointi(), srcPointTgtTriIntersection(), srcTriInterpolate(), srcTriTgtPointIntersection(), location::tgtEdgei(), location::tgtPointi(), and tgtTriInterpolate().
Referenced by intersectTris().
void writePolygon | ( | const word & | name, |
const PointField & | ps | ||
) |
Write a VTK file of a polygon.
Definition at line 32 of file triIntersectTemplates.C.
References Foam::endl(), Foam::identityMap(), Foam::indent(), Foam::Info, Foam::name(), List< T >::size(), and Foam::vtkWriteOps::write().
Referenced by intersectTris().
void writeTriProjection | ( | const word & | name, |
const FixedList< point, 3 > & | srcTriPs, | ||
const FixedList< vector, 3 > & | srcTriNs, | ||
const label | nEdge = 20 , |
||
const label | nNormal = 20 , |
||
const scalar | lNormal = 0.5 |
||
) |
Write a VTK file of a triangle projection.
Definition at line 1256 of file triIntersect.C.
References Foam::endl(), Foam::indent(), Foam::Info, Foam::mag(), Foam::max(), Foam::name(), u0, Foam::vtkWriteOps::write(), and x.
Referenced by intersectTris().
Foam::scalar srcEdgeTgtPointOffset | ( | const Pair< point > & | srcPs, |
const Pair< vector > & | srcNs, | ||
const point & | tgtP | ||
) |
Calculate the signed offset of a target point in relation to a projected.
source edge
Definition at line 1327 of file triIntersect.C.
References A, Foam::det(), Foam::offset(), protectedDivideAndClip01(), Foam::T(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
Referenced by srcEdgeTgtEdgeIntersection(), srcEdgeTgtPointOffset(), and srcTriTgtPointIntersection().
Foam::scalar srcEdgeTgtPointOffset | ( | const Pair< point > & | srcPs, |
const Pair< vector > & | srcNs, | ||
const point & | tgtP, | ||
const bool | srcDirection | ||
) |
Calculate the signed offset of a target point in relation to a projected.
source edge. Additional ordering argument can be used to account for edge orientation and thereby guarantee consistency of the result.
Definition at line 1348 of file triIntersect.C.
References Foam::reverse(), and srcEdgeTgtPointOffset().
Foam::scalar srcPointTgtEdgeOffset | ( | const point & | srcP, |
const vector & | srcN, | ||
const Pair< point > & | tgtPs | ||
) |
Calculate the signed offset of a projected source point in relation to a.
target edge
Definition at line 1367 of file triIntersect.C.
References A, Foam::det(), Foam::offset(), protectedDivide(), Foam::T(), and Vector< Cmpt >::z().
Referenced by srcPointTgtEdgeOffset().
Foam::scalar srcPointTgtEdgeOffset | ( | const point & | srcPs, |
const vector & | srcNs, | ||
const Pair< point > & | tgtP, | ||
const bool | tgtDirection | ||
) |
Calculate the signed offset of a projected source point in relation to a.
target edge. Additional ordering argument can be used to account for edge orientation and thereby guarantee consistency of the result.
Definition at line 1387 of file triIntersect.C.
References Foam::reverse(), and srcPointTgtEdgeOffset().
Foam::Pair< Foam::scalar > srcEdgeTgtEdgeIntersection | ( | const Pair< point > & | srcPs, |
const Pair< vector > & | srcNs, | ||
const Pair< point > & | tgtPs | ||
) |
Calculate the intersection of a target edge with a source edge's.
projected surface. Return the local coordinates of the intersection along both the source and target edges.
Definition at line 1406 of file triIntersect.C.
References A, Foam::det(), UILList< LListBase, T >::first(), Foam::log2(), Foam::mag(), protectedDivideAndClip01(), s(), Foam::sign(), solveProjection(), srcEdgeTgtPointOffset(), and Foam::Zero.
Referenced by generateGeometry().
Foam::barycentric2D srcTriTgtPointIntersection | ( | const FixedList< point, 3 > & | srcPs, |
const FixedList< vector, 3 > & | srcNs, | ||
const point & | tgtP | ||
) |
Calculate the intersection of a target point with a source triangle's.
projected volume. Return the local coordinates of the intersection within the source triangle.
Definition at line 1554 of file triIntersect.C.
References A, Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::findMax(), Foam::findMin(), UILList< LListBase, T >::first(), forAll, Foam::log2(), Foam::offset(), protectedDivide(), Foam::sign(), solveProjection(), solveProjectionGivenT(), srcEdgeTgtPointOffset(), T0, and y.
Referenced by generateGeometry().
Type srcTriInterpolate | ( | const barycentric2D & | y, |
const FixedList< Type, 3 > & | tgtPsis | ||
) |
Use the coordinates obtained from srcTriTgtPointIntersection to interpolate.
a property within a source triangle's projected volume
Definition at line 53 of file triIntersectTemplates.C.
References Foam::findMax(), Foam::findMin(), and y.
Referenced by generateGeometry().
Foam::barycentric2D srcPointTgtTriIntersection | ( | const point & | srcP, |
const vector & | srcN, | ||
const FixedList< point, 3 > & | tgtPs | ||
) |
Calculate the intersection of a projected source point with a target.
triangle. Return the local coordinates of the intersection within the target triangle.
Definition at line 1802 of file triIntersect.C.
References A, Foam::cmptMag(), Foam::cmptSum(), Foam::cof(), Foam::det(), Foam::findMax(), Foam::mag(), Foam::T(), T0, Vector2D< Cmpt >::x(), y, and Vector2D< Cmpt >::y().
Referenced by generateGeometry().
Type tgtTriInterpolate | ( | const barycentric2D & | y, |
const FixedList< Type, 3 > & | tgtPsis | ||
) |
Use the coordinates obtained from srcPointTgtTriIntersection to interpolate.
a property within a target triangle
Definition at line 86 of file triIntersectTemplates.C.
References y.
Referenced by generateGeometry().
void intersectTris | ( | const FixedList< point, 3 > & | srcPs, |
const FixedList< vector, 3 > & | srcNs, | ||
const FixedList< bool, 3 > & | srcOwns, | ||
const FixedList< label, 3 > & | srcTgtPis, | ||
const FixedList< point, 3 > & | tgtPs, | ||
const FixedList< bool, 3 > & | tgtOwns, | ||
const FixedList< label, 3 > & | tgtSrcPis, | ||
DynamicList< point > & | srcPoints, | ||
DynamicList< vector > & | srcPointNormals, | ||
DynamicList< point > & | tgtPoints, | ||
DynamicList< location > & | pointLocations, | ||
const bool | debug, | ||
const word & | writePrefix = word::null |
||
) |
Construct the intersection of a source triangle's projected volume and a.
target triangle
Definition at line 1865 of file triIntersect.C.
References Foam::count(), Foam::decrIndent(), Foam::endl(), generateGeometry(), generateLocations(), Foam::incrIndent(), Foam::indent(), Foam::Info, srcInTgt(), tgtInSrc(), tgtInSrcTri(), Foam::vtkWriteOps::write(), writePolygon(), and writeTriProjection().
Definition at line 190 of file triIntersectLocationI.H.
References b.
Definition at line 198 of file triIntersectLocationI.H.
References b.
Foam::Ostream & operator<< | ( | Ostream & | os, |
const location & | l | ||
) |
Definition at line 31 of file triIntersectLocationIO.C.
The maximum dot product between a source point normal and a target plane.
considered to be a valid, forward projection
Definition at line 44 of file triIntersect.C.