Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: Pt[][] BézierPatch(Pt[][], int)

  • Declared in: RT.Modeling.Md

Declaration

public static Pt[][] BézierPatch(
    Pt[][] controlPoints,
    int steps
)

Summary

Generates a mesh of points on a cubic Bézier patch. The points are equidistant in t-space, meaning they are not geometrically equidistant, nor does this ensure a uniform smoothness.

Parameters

Pt[][]controlPoints The edge and control points that define the patch.
intsteps Number of steps in t-space to subdivide the curve into.

Returns

A 2D array of 3D points.