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

Definition at line 55 of file measures3d.c.

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

Referenced by define_plane().

56 {
57  v->x=(v1->y*v2->z)-(v1->z*v2->y);
58  v->y=(v1->z*v2->x)-(v1->x*v2->z);
59  v->z=(v1->x*v2->y)-(v1->y*v2->x);
60 
61  return LW_TRUE;
62 }
double z
Definition: measures3d.h:51
double y
Definition: measures3d.h:51
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:75
double x
Definition: measures3d.h:51

Here is the caller graph for this function: