71#include <lal/LALInspiralBank.h>
81 REAL4 x_1, x_2, x_3, x_4, x_5, x_6;
82 REAL4 y_1, y_2, y_3, y_4, y_5, y_6;
83 REAL4 ctheta,stheta, sca;
95 y_2 = -in->
dy/sqrt(3);
101 y_5 = in->
dy/sqrt(3);
105 ctheta=cos(in->
theta);
106 stheta=sin(in->
theta);
108 out->
x1 = in->
x0 + x_1 * ctheta - y_1 * stheta;
109 out->
y1 = in->
y0 + y_1 * ctheta + x_1 * stheta;
110 out->
x2 = in->
x0 + x_2 * ctheta - y_2 * stheta;
111 out->
y2 = in->
y0 + y_2 * ctheta + x_2 * stheta;
112 out->
x3 = in->
x0 + x_3 * ctheta - y_3 * stheta;
113 out->
y3 = in->
y0 + y_3 * ctheta + x_3 * stheta;
114 out->
x4 = in->
x0 + x_4 * ctheta - y_4 * stheta;
115 out->
y4 = in->
y0 + y_4 * ctheta + x_4 * stheta;
116 out->
x5 = in->
x0 + x_5 * ctheta - y_5 * stheta;
117 out->
y5 = in->
y0 + y_5 * ctheta + x_5 * stheta;
118 out->
x6 = in->
x0 + x_6 * ctheta - y_6 * stheta;
119 out->
y6 = in->
y0 + y_6 * ctheta + x_6 * stheta;
#define ATTATCHSTATUSPTR(statusptr)
#define ASSERT(assertion, statusptr, code, mesg)
#define DETATCHSTATUSPTR(statusptr)
#define INITSTATUS(statusptr)
#define RETURN(statusptr)
#define LALINSPIRALBANKH_ENULL
Null pointer.
void LALHexagonVertices(LALStatus *status, HexagonOut *out, RectangleIn *in)
Input structure to function LALRectangleVertices()