ConvertRadiansToDegrees() public static method

public static ConvertRadiansToDegrees ( double d ) : int
d double
return int
Ejemplo n.º 1
0
        public JtPlacement2dInt(FamilyInstance fi)
        {
            LocationPoint lp = fi.Location as LocationPoint;

            Debug.Assert(null != lp,
                         "expected valid family instanace location point");

            Translation = new Point2dInt(lp.Point);

            Rotation = Util.ConvertRadiansToDegrees(lp.Rotation);

            SymbolId = fi.Symbol.UniqueId;
        }