public string GetScadOutputRecursive(Intersection objectToProcess, int level = 0) { return ApplyIndent("intersection()" + AddNameAsComment(objectToProcess) + "\n{\n" + GetScadOutputRecursive((dynamic)objectToProcess.a, level + 1) + "\n" + GetScadOutputRecursive((dynamic)objectToProcess.b, level + 1) + "\n}", level); }
public CsgObject DoCopyAndFlatten(Intersection objectToProcess) { return new Intersection(objectToProcess); }
public PolygonMesh.Mesh CsgToMeshRecursive(Intersection objectToProcess) { throw new NotImplementedException(); #if false return ApplyIndent("intersection()" + "\n{\n" + CsgToMeshRecursive((dynamic)objectToProcess.a, level + 1) + "\n" + CsgToMeshRecursive((dynamic)objectToProcess.b, level + 1) + "\n}"); #endif }
public Intersection(Intersection objectToCopy) : this(objectToCopy.a, objectToCopy.b, objectToCopy.name) { }
public IPrimitive GetIPrimitiveRecursive(Intersection objectToProcess) { throw new NotImplementedException(); //return ApplyIndent("intersection()" + AddNameAsComment(objectToProcess) + "\n{\n" + GetRayTraceableRecursive((dynamic)objectToProcess.a, level + 1) + "\n" + GetRayTraceableRecursive((dynamic)objectToProcess.b, level + 1) + "\n}", level); }
public void RenderToGlRecursive(Intersection objectToProcess) { throw new NotImplementedException(); #if false return ApplyIndent("intersection()" + "\n{\n" + RenderToGlRecursive((dynamic)objectToProcess.a, level + 1) + "\n" + RenderToGlRecursive((dynamic)objectToProcess.b, level + 1) + "\n}"); #endif }
public string LookForNamedPartRecursive(Intersection objectToProcess, Matrix4X4 accumulatedMatrix) { return LookForNamedPartRecursive((dynamic)objectToProcess.a, accumulatedMatrix) + LookForNamedPartRecursive((dynamic)objectToProcess.b, accumulatedMatrix); }