public CreateCircleViewModel() { CircleConstructionArgs = new CircleConstructionArgs() { CenterOfMass = new Models.Common.Point(), Radius = default }; ConstructionArgs = CircleConstructionArgs; }
private Models.Common.Point GeneratePoint() { var point = new Models.Common.Point() { X = _random.Next(NegativeDiapason, PositiveDiapason), Y = _random.Next(NegativeDiapason, PositiveDiapason) }; return(point); }
public CreateTrapeziumViewModel() { TrapeziumConstructionArgs = new TrapeziumConstructionArgs() { CenterOfMass = new Models.Common.Point(), Height = default,
public CreateRectangleViewModel() { RectangleConstructionArgs = new RectangleConstructionArgs() { CenterOfMass = new Models.Common.Point(), Height = default,