PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ vector_scale()

void vector_scale ( POINT3D a,
double  s 
)

Scale a vector out by a factor.

Definition at line 487 of file lwgeodetic.c.

488 {
489  n->x *= scale;
490  n->y *= scale;
491  n->z *= scale;
492  return;
493 }

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().

Here is the caller graph for this function: