daily update on 20221020
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StgSharp_Geometry
|
||||
{
|
||||
public class Circle
|
||||
{
|
||||
private float _centerX;
|
||||
|
||||
public float CenterX
|
||||
{
|
||||
get { return _centerX; }
|
||||
set { _centerX = value; }
|
||||
}
|
||||
private float _centerY;
|
||||
|
||||
public float CenterY
|
||||
{
|
||||
get { return _centerY; }
|
||||
set { _centerY = value; }
|
||||
}
|
||||
|
||||
private float _radius;
|
||||
public float Radius
|
||||
{
|
||||
get { return _radius; }
|
||||
set { _radius = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Circle(float centerX,float centerY,float radius)
|
||||
{
|
||||
this._centerX = centerX;
|
||||
this._centerY = centerY;
|
||||
this._radius = radius;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user