Renamed MultiBlockStatementObject to simply 'MultiStatementObject'

This commit is contained in:
Michael Smith 2016-02-24 23:18:54 -08:00
parent 2976110f05
commit 763479985b
7 changed files with 9 additions and 9 deletions

View File

@ -11,7 +11,7 @@ namespace OSCADSharp.Booleans
/// <summary>
/// Subtracts the 2nd (and all further) child nodes from the first one (logical and not).
/// </summary>
internal class Difference : MultiBlockStatementObject
internal class Difference : MultiStatementObject
{
/// <summary>
/// Creates a subtraction of child nodes

View File

@ -11,7 +11,7 @@ namespace OSCADSharp.Booleans
/// <summary>
/// Creates the intersection of all child nodes
/// </summary>
internal class Intersection : MultiBlockStatementObject
internal class Intersection : MultiStatementObject
{
/// <summary>
/// Creates the intersection of all child nodes

View File

@ -10,7 +10,7 @@ namespace OSCADSharp.Booleans
/// <summary>
/// A union of child nodes. This is the sum of all children (logical or).
/// </summary>
internal class Union : MultiBlockStatementObject
internal class Union : MultiStatementObject
{
/// <summary>
/// Create a union that is the combination of all children

View File

@ -56,7 +56,7 @@
<Compile Include="Transforms\HulledObject.cs" />
<Compile Include="Transforms\LinearExtrudedObject.cs" />
<Compile Include="Scripting\SingleBlockFormatter.cs" />
<Compile Include="Scripting\MultiBlockStatementObject.cs" />
<Compile Include="Scripting\MultiStatementObject.cs" />
<Compile Include="Booleans\Difference.cs" />
<Compile Include="Booleans\Intersection.cs" />
<Compile Include="Booleans\Union.cs" />

View File

@ -12,11 +12,11 @@ namespace OSCADSharp.Scripting
/// A statement that has multiple child nodes, whose ToString output
/// is more or less just an aggregate of the children
/// </summary>
internal class MultiBlockStatementObject : OSCADObject
internal class MultiStatementObject : OSCADObject
{
private string outerStatement;
internal MultiBlockStatementObject(string outerStatement, IEnumerable<OSCADObject> children)
internal MultiStatementObject(string outerStatement, IEnumerable<OSCADObject> children)
{
this.outerStatement = outerStatement;
this.children = children.ToList();
@ -46,7 +46,7 @@ namespace OSCADSharp.Scripting
childClones.Add(child.Clone());
}
return new MultiBlockStatementObject(this.outerStatement, childClones)
return new MultiStatementObject(this.outerStatement, childClones)
{
Name = this.Name
};

View File

@ -10,7 +10,7 @@ namespace OSCADSharp.Transforms
/// <summary>
/// Creates an object that's the convex hull of child objects
/// </summary>
internal class HulledObject : MultiBlockStatementObject
internal class HulledObject : MultiStatementObject
{
public HulledObject(IEnumerable<OSCADObject> children) : base("hull()", children)
{

View File

@ -11,7 +11,7 @@ namespace OSCADSharp.Transforms
/// <summary>
/// Creates an object that's the minkowski sum of child objects
/// </summary>
internal class MinkowskiedObject : MultiBlockStatementObject
internal class MinkowskiedObject : MultiStatementObject
{
public MinkowskiedObject(IEnumerable<OSCADObject> children) : base("minkowski()", children)