PostGIS  2.5.2dev-r@@SVN_REVISION@@

◆ vector_scale()

static void vector_scale ( POINT3D n,
double  scale 
)
static

Scale a vector out by a factor.

Definition at line 456 of file lwgeodetic.c.

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

Referenced by edge_distance_to_point(), and edge_intersects().

457 {
458  n->x *= scale;
459  n->y *= scale;
460  n->z *= scale;
461  return;
462 }
double y
Definition: liblwgeom.h:342
double x
Definition: liblwgeom.h:342
double z
Definition: liblwgeom.h:342
Here is the caller graph for this function: