Nurbs Struct Reference

Represents one NURBS curve. More...

#include <curved.h>

List of all members.

Public Member Functions

 Nurbs ()
void unref ()

Public Attributes

int degree
 curve degree (2=quadratic, etc.)
int np
 number of control points
double3pt
 control points and their weights
int nk
 knot vector length
double * kv
 knot vector
int ref
 reference counter (the structure is deleted when this reaches zero)
bool twin
 true on internal curved edges for the second (artificial) Nurbs
bool arc
 true if this is in fact a circular arc
double angle
 arc angle

Detailed Description

Represents one NURBS curve.

The structure Nurbs defines one curved edge, or, more precisely, the control points and other data for one NURBS curve.

A good introduction to NURBS curves can be found here.


Constructor & Destructor Documentation

Nurbs::Nurbs (  )  [inline]

Member Function Documentation

void Nurbs::unref (  ) 

Member Data Documentation

double Nurbs::angle

arc angle

bool Nurbs::arc

true if this is in fact a circular arc

curve degree (2=quadratic, etc.)

double* Nurbs::kv

knot vector

int Nurbs::nk

knot vector length

int Nurbs::np

number of control points

control points and their weights

reference counter (the structure is deleted when this reaches zero)

true on internal curved edges for the second (artificial) Nurbs


The documentation for this struct was generated from the following files:
Generated on Sat Jun 5 15:17:43 2010 for Hermes2D Library: Real Version by  doxygen 1.6.3