Function dasdennisscale

Function Documentation

static void dasdennisscale(int dim, int npoints, double scale, double *dir, void *v)

Static function for LIN_dasdennis scaling of points.

Description

When scaling we translate the scaled-down points from the centroid of the shifted points to the reference direction on the reference plane.

Parameters
  • dim – dimension

  • npoints – Number of points

  • scale – Scaling factor

  • dir – Direction vector

  • v – Pointer to points, points must have been created

Returns

None