def METHOD_NAME(self, toarray, idx):
    """Placeholder."""
    toarray[idx] = self.x
    toarray[idx + 1] = self.y
    toarray[idx + 2] = self.xx
    toarray[idx + 3] = self.yy
    if (self.swapped_x):
        toarray[idx] = self.xx
        toarray[idx + 2] = self.x
    if (self.swapped_y):
        toarray[idx + 1] = self.yy
        toarray[idx + 3] = self.y