예제 #1
0
        private SFPoint RotPt(float Angle)
        {
            SFPoint Result;

            Angle    = (float)DXFConst.Radian(Angle);
            Result.X = this.Point1.X + (float)(radius * Math.Cos(Angle));
            Result.Y = this.Point1.Y + (float)(radius * Math.Sin(Angle));
            Result.Z = this.Point1.Z;
            return(Result);
        }
예제 #2
0
 public void SetAngle(double Value)
 {
     angle = (float)Value;
     sin   = Math.Sin(DXFConst.Radian(Value));
     cos   = Math.Cos(DXFConst.Radian(Value));
 }