PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ vector_scale()

void vector_scale ( POINT3D n,
double  scale 
)

Scale a vector out by a factor.

Definition at line 483 of file lwgeodetic.c.

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

Referenced by circ_tree_get_point_outside(), edge_distance_to_point(), edge_intersects(), and lwpoly_pt_outside_hack().

484 {
485  n->x *= scale;
486  n->y *= scale;
487  n->z *= scale;
488  return;
489 }
double y
Definition: liblwgeom.h:340
double x
Definition: liblwgeom.h:340
double z
Definition: liblwgeom.h:340
Here is the caller graph for this function: