Returns the area of a quadrilateral defined by its edge points. The following assumptions are made:
Parameters : | p1, p2, p3, p4 : numpy.ndarray \((N,3)\)
|
---|---|
Returns : | result : numpy.ndarray \((N)\)
|
Examples
>>> pts = np.array([[0,0,0],
... [0,1,0],
... [0,1,1],
... [0,0,1]])
>>> quadArea(pts[0], pts[1], pts[2], pts[3])
1.0