Esempio n. 1
0
 /// <summary>
 /// Create a new mesh by joining the triangles to another
 /// </summary>
 /// <param name="other">mesh to join with</param>
 /// <returns>mesh with the triangles of both joined meshes</returns>
 public ListMesh Join(ListMesh other)
 {
     return(new ListMesh(this.Concat(other)));
 }
Esempio n. 2
0
 /// <summary>
 /// Intersection of two solid's geometry
 /// </summary>
 /// <param name="other">comparision solid</param>
 /// <returns>Solid with geometry that is the intersection of the input solids</returns>
 public ListMesh Intersection(ListMesh other)
 {
     return(new ListMesh(new Modifiers.Intersection(this, other)));
 }
Esempio n. 3
0
 /// <summary>
 /// Union of two solid's mesh data
 /// </summary>
 /// <param name="other">merge data</param>
 /// <returns>union of both solids</returns>
 public ListMesh Union(ListMesh other)
 {
     return(new ListMesh(new Modifiers.Union(this, other)));
 }
Esempio n. 4
0
 /// <summary>
 /// Clip the given solid by another
 /// </summary>
 /// <param name="other">original mesh</param>
 /// <returns>clipped solid</returns>
 public ListMesh Difference(ListMesh other)
 {
     return(new ListMesh(new Modifiers.Difference(this, other)));
 }