C# Class Isosurface.QEF

Mostrar archivo Open project: Lin20/isosurface

Public Methods

Method Description
Add ( Vector2 p, Vector2 n ) : void
Solve2 ( float svd_tol, int sweeps, float pinv_tol ) : Vector2

Private Methods

Method Description
GetDistanceSquared ( Vector2 x ) : float
GetDistanceSquared ( Vector2 x, Vector2 p, Vector2 n ) : float
QEF ( ) : System

Method Details

Add() public method

public Add ( Vector2 p, Vector2 n ) : void
p Vector2
n Vector2
return void

Solve2() public method

public Solve2 ( float svd_tol, int sweeps, float pinv_tol ) : Vector2
svd_tol float
sweeps int
pinv_tol float
return Vector2