Blender  V3.3
Namespaces | Typedefs | Functions
FitCurve.cpp File Reference

An Algorithm for Automatically Fitting Digitized Curves by Philip J. Schneider,. More...

#include <cmath>
#include <cstdio>
#include <cstdlib>
#include "FitCurve.h"

Go to the source code of this file.

Namespaces

 Freestyle
 inherits from class Rep
 

Typedefs

using Freestyle::BezierCurve = Vector2 *
 

Functions

static doubleFreestyle::Reparameterize (Vector2 *d, int first, int last, double *u, BezierCurve bezCurve)
 
static double Freestyle::NewtonRaphsonRootFind (BezierCurve Q, Vector2 P, double u)
 
static Vector2 Freestyle::BezierII (int degree, Vector2 *V, double t)
 
static double Freestyle::B0 (double u)
 
static double Freestyle::B1 (double u)
 
static double Freestyle::B2 (double u)
 
static double Freestyle::B3 (double u)
 
static Vector2 Freestyle::ComputeLeftTangent (Vector2 *d, int end)
 
static double Freestyle::ComputeMaxError (Vector2 *d, int first, int last, BezierCurve bezCurve, double *u, int *splitPoint)
 
static doubleFreestyle::ChordLengthParameterize (Vector2 *d, int first, int last)
 
static BezierCurve Freestyle::GenerateBezier (Vector2 *d, int first, int last, double *uPrime, Vector2 tHat1, Vector2 tHat2)
 
static Vector2 Freestyle::V2AddII (Vector2 a, Vector2 b)
 
static Vector2 Freestyle::V2ScaleIII (Vector2 v, double s)
 
static Vector2 Freestyle::V2SubII (Vector2 a, Vector2 b)
 
static double Freestyle::V2SquaredLength (Vector2 *a)
 
static double Freestyle::V2Length (Vector2 *a)
 
static Vector2 * Freestyle::V2Scale (Vector2 *v, double newlen)
 
static double Freestyle::V2Dot (Vector2 *a, Vector2 *b)
 
static double Freestyle::V2DistanceBetween2Points (Vector2 *a, Vector2 *b)
 
static Vector2 * Freestyle::V2Add (Vector2 *a, Vector2 *b, Vector2 *c)
 
static Vector2 * Freestyle::V2Normalize (Vector2 *v)
 
static Vector2 * Freestyle::V2Negate (Vector2 *v)
 
static Vector2 Freestyle::ComputeRightTangent (Vector2 *d, int end)
 
static Vector2 Freestyle::ComputeCenterTangent (Vector2 *d, int center)
 

Detailed Description

An Algorithm for Automatically Fitting Digitized Curves by Philip J. Schneider,.

from "Graphics Gems", Academic Press, 1990

Definition in file FitCurve.cpp.