Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

  • Declared in: RT.Modeling.Md

Declaration

public static Pt[][] BézierPatch(
    Pt p00,
    Pt p10,
    Pt p20,
    Pt p30,
    Pt p01,
    Pt p11,
    Pt p21,
    Pt p31,
    Pt p02,
    Pt p12,
    Pt p22,
    Pt p32,
    Pt p03,
    Pt p13,
    Pt p23,
    Pt p33,
    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

Ptp00 The point p_{0,0} on the patch surface.
Ptp10 The point p_{1,0} on the patch surface.
Ptp20 The point p_{2,0} on the patch surface.
Ptp30 The point p_{3,0} on the patch surface.
Ptp01 The point p_{0,1} on the patch surface.
Ptp11 The point p_{1,1} on the patch surface.
Ptp21 The point p_{2,1} on the patch surface.
Ptp31 The point p_{3,1} on the patch surface.
Ptp02 The point p_{0,2} on the patch surface.
Ptp12 The point p_{1,2} on the patch surface.
Ptp22 The point p_{2,2} on the patch surface.
Ptp32 The point p_{3,2} on the patch surface.
Ptp03 The point p_{0,3} on the patch surface.
Ptp13 The point p_{1,3} on the patch surface.
Ptp23 The point p_{2,3} on the patch surface.
Ptp33 The point p_{3,3} on the patch surface.
intsteps Number of steps in t-space to subdivide the curve into.

Returns

A 2D array of 3D points.