public Face(KiloImageProp prop, double pieceAngle, string color) : base(prop, pieceAngle, color) { PolarInputs = new Tuple <double, double>[] { new Tuple <double, double>(prop.LongFaceDist, pieceAngle), new Tuple <double, double>(prop.ShortFaceDist, pieceAngle - KiloImageProp.LARGEANGLE / 2), new Tuple <double, double>(0, 0), new Tuple <double, double>(prop.ShortFaceDist, pieceAngle + KiloImageProp.LARGEANGLE / 2) }; }
public Side(KiloImageProp prop, double pieceAngle, string color, int position) : base(prop, pieceAngle, color) { PolarInputs = new Tuple <double, double>[] { new Tuple <double, double>(prop.LongFaceDist, pieceAngle), new Tuple <double, double>(prop.LongSideDist, pieceAngle), new Tuple <double, double>(prop.ShortSideDist, pieceAngle + (position * KiloImageProp.LARGEANGLE / 2)), new Tuple <double, double>(prop.ShortFaceDist, pieceAngle + (position * KiloImageProp.LARGEANGLE / 2)) }; }
public Corner(KiloImageProp properties, int pieceNum) { _properties = properties; _centerAngle = KiloImageProp.LARGEANGLE * (pieceNum + 0.5); SetStickers(pieceNum); }
public Sticker(KiloImageProp prop, double angle, string color) { _center = prop.Center; Color = color; }