PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ vector_scale()

static void vector_scale ( POINT3D n,
double  scale 

Scale a vector out by a factor.

Definition at line 452 of file lwgeodetic.c.

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

Referenced by edge_distance_to_point(), and edge_intersects().

453 {
454  n->x *= scale;
455  n->y *= scale;
456  n->z *= scale;
457  return;
458 }
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: