static IntVector2 OctantTranslate(IntVector2 p, int octant) { int tx = p.X * xxcomp[octant] + p.Y * xycomp[octant]; int ty = p.X * yxcomp[octant] + p.Y * yycomp[octant]; return new IntVector2(tx, ty); } }