Method TripleProduct
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TripleProduct(GeoVector3, GeoVector3)
Calculates the scalar triple product of this vector with two others, that is
this · (v1 × v2).
public double TripleProduct(GeoVector3 v1, GeoVector3 v2)
Parameters
v1GeoVector3v2GeoVector3
Returns
Remarks
The result is the signed volume of the parallelepiped spanned by the three vectors, so it is zero exactly when they are coplanar. This is the test coplanarity checks are built on.