示例#1
0
		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);
		}
示例#2
0
 public CsgObject DoCopyAndFlatten(Intersection objectToProcess)
 {
     return new Intersection(objectToProcess);
 }
示例#3
0
		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
		}
示例#4
0
 public Intersection(Intersection objectToCopy)
     : this(objectToCopy.a, objectToCopy.b, objectToCopy.name)
 {
 }
示例#5
0
		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);
		}
示例#6
0
        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);
		}