PostGIS  2.1.10dev-r@@SVN_REVISION@@
int get_3dcross_product ( VECTOR3D v1,
VECTOR3D v2,
VECTOR3D v 
)

Definition at line 95 of file measures3d.h.

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

Referenced by define_plane().

96 {
97  v->x=(v1->y*v2->z)-(v1->z*v2->y);
98  v->y=(v1->z*v2->x)-(v1->x*v2->z);
99  v->z=(v1->x*v2->y)-(v1->y*v2->x);
100 
101  return LW_TRUE;
102 }
double z
Definition: measures3d.h:36
double y
Definition: measures3d.h:36
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:51
double x
Definition: measures3d.h:36

Here is the caller graph for this function: