Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: IEnumerable<VertexInfo[]> TubeFromCurveClosed(IEnumerable<Pt>, double, int)

  • Declared in: RT.Modeling.Md

Declaration

public static IEnumerable<VertexInfo[]> TubeFromCurveClosed(
    IEnumerable<Pt> points,
    double radius,
    int revSteps
)

Summary

Generates a (solid, not hollow) tube from a set of 3D points defining a curve or a set of line segments. The tube is assumed to be a closed curve; the last point is connected back to the first.

Parameters

IEnumerable<Pt>points The points defining the radial centerpoints along the tube.
doubleradius The radius of the tube.
intrevSteps Number of steps of revolution. Higher numbers make the model look smoother but generate more data.

Returns

A collection of faces.