public MeepBlock(MeepMaterialType material, MeepVector3 center, MeepVector3 size) : base(material, center) { Size = size; E1 = MeepVector3.AxisX; E2 = MeepVector3.AxisY; E3 = MeepVector3.AxisZ; }
public override bool Equals(MeepMaterialType other) { if (other == null || this.GetType() != other.GetType()) { return(false); } MeepDefinedMaterial _other = other as MeepDefinedMaterial; return(this.MaterialName == _other.MaterialName); }
public override bool Equals(MeepMaterialType other) { if (other == null || this.GetType() != other.GetType()) { return(false); } MeepDirectCodingMaterial _other = other as MeepDirectCodingMaterial; return((Name == _other.Name) & (MeepCode == _other.MeepCode)); }
public override bool Equals(MeepMaterialType other) { if (other == null || this.GetType() != other.GetType()) { return(false); } MeepDielectric _other = other as MeepDielectric; return((Name == _other.Name) & (VariableName == _other.VariableName) & (Index == _other.Index) & (Mu == _other.Mu) & (Conductivity == _other.Conductivity)); }
public MeepGeometricObject(MeepMaterialType material, MeepVector3 center) { Material = material; Center = center; }