PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void vector_scale ( POINT3D n,
double  scale 
)
static

Scale a vector out by a factor.

Definition at line 438 of file lwgeodetic.c.

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

Referenced by edge_distance_to_point(), and edge_intersects().

439 {
440  n->x *= scale;
441  n->y *= scale;
442  n->z *= scale;
443  return;
444 }
double y
Definition: liblwgeom.h:296
double x
Definition: liblwgeom.h:296
double z
Definition: liblwgeom.h:296

Here is the caller graph for this function: