PostGIS  2.2.7dev-r@@SVN_REVISION@@
static int get_3dcross_product ( VECTOR3D v1,
VECTOR3D v2,
VECTOR3D v 
)
inlinestatic

Definition at line 31 of file measures3d.c.

References LW_TRUE, VECTOR3D::x, VECTOR3D::y, and VECTOR3D::z.

Referenced by define_plane().

32 {
33  v->x=(v1->y*v2->z)-(v1->z*v2->y);
34  v->y=(v1->z*v2->x)-(v1->x*v2->z);
35  v->z=(v1->x*v2->y)-(v1->y*v2->x);
36 
37  return LW_TRUE;
38 }
double z
Definition: measures3d.h:37
double y
Definition: measures3d.h:37
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:61
double x
Definition: measures3d.h:37

Here is the caller graph for this function: