Table of Contents

Class Glu

Namespace
CADability
Assembly
CADability.dll

The OpenGL utility library (GLU) functions and constants CADability uses, as P/Invoke declarations into glu32.dll, taken from the Tao framework. Documented in the OpenGL reference.

public static class Glu
Inheritance
Glu
Inherited Members

Fields

GLU_SAMPLING_TOLERANCE

public const int GLU_SAMPLING_TOLERANCE = 100203

Field Value

int

Methods

gluBeginCurve(GLUnurbs)

public static extern void gluBeginCurve(Glu.GLUnurbs nurb)

Parameters

nurb Glu.GLUnurbs

gluEndCurve(GLUnurbs)

public static extern void gluEndCurve(Glu.GLUnurbs nurb)

Parameters

nurb Glu.GLUnurbs

gluNewNurbsRenderer()

public static extern Glu.GLUnurbs gluNewNurbsRenderer()

Returns

Glu.GLUnurbs

gluNurbsCurve(GLUnurbs, int, float[], int, float[,], int, int)

[CLSCompliant(false)]
public static extern void gluNurbsCurve(Glu.GLUnurbs nurb, int knotCount, float[] knots, int stride, float[,] control, int order, int type)

Parameters

nurb Glu.GLUnurbs
knotCount int
knots float[]
stride int
control float[,]
order int
type int

gluNurbsCurve(GLUnurbs, int, float[], int, float[], int, int)

public static extern void gluNurbsCurve(Glu.GLUnurbs nurb, int knotCount, float[] knots, int stride, float[] control, int order, int type)

Parameters

nurb Glu.GLUnurbs
knotCount int
knots float[]
stride int
control float[]
order int
type int

gluNurbsProperty(GLUnurbs, int, float)

public static extern void gluNurbsProperty(Glu.GLUnurbs nurb, int property, float val)

Parameters

nurb Glu.GLUnurbs
property int
val float

gluOrtho2D(double, double, double, double)

public static extern void gluOrtho2D(double left, double right, double bottom, double top)

Parameters

left double
right double
bottom double
top double

gluPickMatrix(double, double, double, double, int[])

public static extern void gluPickMatrix(double x, double y, double width, double height, int[] viewport)

Parameters

x double
y double
width double
height double
viewport int[]