PostGIS  2.5.0dev-r@@SVN_REVISION@@
void vector_sum ( const POINT3D a,
const POINT3D b,
POINT3D n 
)

Calculate the sum of two vectors.

Definition at line 430 of file lwgeodetic.c.

References POINT3D::x, POINT3D::y, and POINT3D::z.

Referenced by circ_node_leaf_new(), edge_point_in_cone(), point_in_cone(), and unit_normal().

431 {
432  n->x = a->x + b->x;
433  n->y = a->y + b->y;
434  n->z = a->z + b->z;
435  return;
436 }
double y
Definition: liblwgeom.h:339
double x
Definition: liblwgeom.h:339
double z
Definition: liblwgeom.h:339

Here is the caller graph for this function: