20#include <lal/LALInspiralBank.h>
60 REAL4 x1, x2, x3, x4, myy1, y2, y3, y4;
95 ctheta=cos(in->
theta);
96 stheta=sin(in->
theta);
98 out->
x1 = in->
x0 + x1 * ctheta - myy1 * stheta;
99 out->
y1 = in->
y0 + myy1 * ctheta + x1 * stheta;
100 out->
x2 = in->
x0 + x2 * ctheta - y2 * stheta;
101 out->
y2 = in->
y0 + y2 * ctheta + x2 * stheta;
102 out->
x3 = in->
x0 + x3 * ctheta - y3 * stheta;
103 out->
y3 = in->
y0 + y3 * ctheta + x3 * stheta;
104 out->
x4 = in->
x0 + x4 * ctheta - y4 * stheta;
105 out->
y4 = in->
y0 + y4 * ctheta + x4 * 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 LALRectangleVertices(LALStatus *status, RectangleOut *out, RectangleIn *in)
Function to find the vertices of a rectangle given its centre, half side-lengths and orientation angl...
Input structure to function LALRectangleVertices()
Output structure to function LALRectangleVertices().