mirror of
https://github.com/eliasstepanik/OSCADSharpDotnet7.git
synced 2026-01-11 21:48:34 +00:00
Renamed MultiBlockStatementObject to simply 'MultiStatementObject'
This commit is contained in:
parent
2976110f05
commit
763479985b
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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" />
|
||||
|
||||
@ -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
|
||||
};
|
||||
@ -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)
|
||||
{
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user