Beispiel #1
0
 /// <summary>
 /// Construct a LoftedSurface by lofting an array of curve cross sections and
 /// using curve(s) as the guide to control the lofting shape.
 /// </summary>
 /// <remarks>
 /// If the cross-section curves do not intersect with the guide curves,
 /// then these cross-section are ignored.
 /// </remarks>
 /// <param name="crossSections">crossSections (curves) needs to be all closed or all open.</param>
 /// <param name="guides">The guides needs to intersect with all crossSections.</param>
 /// <returns>LoftedSurface</returns>
 public static LoftedSurface LoftFromCrossSectionsGuides(Curve[] crossSections, Curve[] guides)
 {
     return(LoftedSurface.FromCrossSectionsGuides(crossSections, guides));
 }
Beispiel #2
0
 /// <summary>
 /// Construct a LoftedSurface by lofting an array of curve cross sections and
 /// using a curve as lofting path to control the lofting direction.
 /// </summary>
 /// <param name="crossSections">crossSections (curves) needs to be all closed or all open.</param>
 /// <param name="path">lofting path curve.</param>
 /// <returns>Loftedsurface</returns>
 public static LoftedSurface LoftFromCrossSectionsPath(Curve[] crossSections, Curve path)
 {
     return(LoftedSurface.FromCrossSectionsPath(crossSections, path));
 }
Beispiel #3
0
 /// <summary>
 /// Constructs a LoftedSurface by lofting an array of curve cross sections.
 /// </summary>
 /// <param name="crossSections">crossSections (curves) needs to be all closed or all open.</param>
 /// <returns>Loft surface.</returns>
 public static LoftedSurface LoftFromCrossSections(Curve[] crossSections)
 {
     return(LoftedSurface.FromCrossSections(crossSections));
 }