IMimicer -> IMimic

This commit is contained in:
Mike Smith 2016-02-14 10:17:55 -08:00
parent 1746190165
commit becb6af003
8 changed files with 9 additions and 9 deletions

View File

@ -251,13 +251,13 @@ namespace OSCADSharp
while(stack.Count > 0) while(stack.Count > 0)
{ {
var current = stack.Pop(); var current = stack.Pop();
if(!(current is IMimicer)) if(!(current is IMimic))
{ {
continue; continue;
} }
else else
{ {
finalObject = ((IMimicer)current).MimicObject(finalObject); finalObject = ((IMimic)current).MimicObject(finalObject);
} }
} }

View File

@ -10,7 +10,7 @@ namespace OSCADSharp.Transforms
/// <summary> /// <summary>
/// An object that has color and/or opacity applied to it /// An object that has color and/or opacity applied to it
/// </summary> /// </summary>
internal class ColoredObject : OSCADObject, IMimicer internal class ColoredObject : OSCADObject, IMimic
{ {
#region Attributes #region Attributes
internal string ColorName { get; set; } = "Yellow"; internal string ColorName { get; set; } = "Yellow";

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace OSCADSharp.Transforms namespace OSCADSharp.Transforms
{ {
internal interface IMimicer internal interface IMimic
{ {
OSCADObject MimicObject(OSCADObject obj); OSCADObject MimicObject(OSCADObject obj);
} }

View File

@ -10,7 +10,7 @@ namespace OSCADSharp.Transforms
/// <summary> /// <summary>
/// An object that's mirrored on a plane /// An object that's mirrored on a plane
/// </summary> /// </summary>
internal class MirroredObject : OSCADObject, IMimicer internal class MirroredObject : OSCADObject, IMimic
{ {
/// <summary> /// <summary>
/// The normal vector of a plane intersecting the origin of the object, /// The normal vector of a plane intersecting the origin of the object,

View File

@ -10,7 +10,7 @@ namespace OSCADSharp.Transforms
/// <summary> /// <summary>
/// An object that's been resized to a specified set of X/Y/Z dimensions /// An object that's been resized to a specified set of X/Y/Z dimensions
/// </summary> /// </summary>
internal class ResizedObject : OSCADObject, IMimicer internal class ResizedObject : OSCADObject, IMimic
{ {
/// <summary> /// <summary>
/// Size of the object in terms of X/Y/Z /// Size of the object in terms of X/Y/Z

View File

@ -10,7 +10,7 @@ namespace OSCADSharp.Transforms
/// <summary> /// <summary>
/// An object with rotation applied /// An object with rotation applied
/// </summary> /// </summary>
internal class RotatedObject : OSCADObject, IMimicer internal class RotatedObject : OSCADObject, IMimic
{ {
/// <summary> /// <summary>
/// The angle to rotate, in terms of X/Y/Z euler angles /// The angle to rotate, in terms of X/Y/Z euler angles

View File

@ -10,7 +10,7 @@ namespace OSCADSharp.Transforms
/// <summary> /// <summary>
/// An object that's been rescaled /// An object that's been rescaled
/// </summary> /// </summary>
internal class ScaledObject : OSCADObject, IMimicer internal class ScaledObject : OSCADObject, IMimic
{ {
/// <summary> /// <summary>
/// The scale factor to be applied /// The scale factor to be applied

View File

@ -10,7 +10,7 @@ namespace OSCADSharp.Transforms
/// <summary> /// <summary>
/// An object or objects that have been moved along the specified vector /// An object or objects that have been moved along the specified vector
/// </summary> /// </summary>
internal class TranslatedObject : OSCADObject, IMimicer internal class TranslatedObject : OSCADObject, IMimic
{ {
internal Vector3 Vector { get; set; } internal Vector3 Vector { get; set; }
private OSCADObject obj; private OSCADObject obj;