PointDCrossProduct(PointD, PointD) 方法
Calculates the 2D cross product magnitude
计算二维叉积大小
命名空间: DeploySharp.Data程序集: DeploySharp (在 DeploySharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
public static double CrossProduct(
PointD p1,
PointD p2
)
- p1 PointD
- First vector 第一个向量
- p2 PointD
- Second vector 第二个向量
DoubleCross product magnitude 叉积大小
The cross product in 2D returns a scalar representing the signed area
of the parallelogram spanned by the two vectors.
二维叉积返回一个标量,表示两个向量所张成的平行四边形的有符号面积。