Loading files
using IDE.Core.Gerber;
namespace IDE.Core.Model.Gerber.Primitives.Apertures
{
public class ApertureDefinitionRectangle : ApertureDefinitionBase
{
public ApertureDefinitionRectangle()
{
ApertureType = ApertureTypes.Rectangle;
}
public double Width { get; set; }
public double Height { get; set; }
public override bool Equals(object obj)
{
if (obj is ApertureDefinitionRectangle ad)
{
return Width == ad.Width && Height == ad.Height && HasSameApertureFunctionAs(ad);
}
return false;
}
public override int GetHashCode()
{
return base.GetHashCode();
}
}
}
366e28f22This file is pinned to the selected release. Download the original to open it in your design tool.