C# Class Isosurface.DualMarchingSquares.QuadtreeNode

Afficher le fichier Open project: Lin20/isosurface Class Usage Examples

Méthodes publiques

Свойство Type Description
children Isosurface.DualMarchingSquares.QuadtreeNode[]
dualgrid_pos Vector2
index int
isovalue float
leaf bool
normal Vector2
position Vector2
size int
vertex_index int

Méthodes publiques

Méthode Description
Build ( int size, int min_size, float threshold, int grid_size, List vertices ) : void
GetError ( float threshold ) : float
ProcessEdge ( QuadtreeNode q1, QuadtreeNode q2, int edge, List indices, List cells ) : void
ProcessFace ( QuadtreeNode q1, List indices, List cells ) : void
ProcessVertices ( QuadtreeNode q1, QuadtreeNode q2, QuadtreeNode q3, QuadtreeNode q4, List indices, List cells ) : void
QuadtreeNode ( ) : System
TrySplit ( int min_size, float threshold, int grid_size, List vertices ) : void

Private Methods

Méthode Description
Interpolate ( float f00, float f01, float f10, float f11, Vector2 position ) : float

Method Details

Build() public méthode

public Build ( int size, int min_size, float threshold, int grid_size, List vertices ) : void
size int
min_size int
threshold float
grid_size int
vertices List
Résultat void

GetError() public méthode

public GetError ( float threshold ) : float
threshold float
Résultat float

ProcessEdge() public static méthode

public static ProcessEdge ( QuadtreeNode q1, QuadtreeNode q2, int edge, List indices, List cells ) : void
q1 QuadtreeNode
q2 QuadtreeNode
edge int
indices List
cells List
Résultat void

ProcessFace() public static méthode

public static ProcessFace ( QuadtreeNode q1, List indices, List cells ) : void
q1 QuadtreeNode
indices List
cells List
Résultat void

ProcessVertices() public static méthode

public static ProcessVertices ( QuadtreeNode q1, QuadtreeNode q2, QuadtreeNode q3, QuadtreeNode q4, List indices, List cells ) : void
q1 QuadtreeNode
q2 QuadtreeNode
q3 QuadtreeNode
q4 QuadtreeNode
indices List
cells List
Résultat void

QuadtreeNode() public méthode

public QuadtreeNode ( ) : System
Résultat System

TrySplit() public méthode

public TrySplit ( int min_size, float threshold, int grid_size, List vertices ) : void
min_size int
threshold float
grid_size int
vertices List
Résultat void

Property Details

children public_oe property

public QuadtreeNode[],Isosurface.DualMarchingSquares children
Résultat Isosurface.DualMarchingSquares.QuadtreeNode[]

dualgrid_pos public_oe property

public Vector2 dualgrid_pos
Résultat Vector2

index public_oe property

public int index
Résultat int

isovalue public_oe property

public float isovalue
Résultat float

leaf public_oe property

public bool leaf
Résultat bool

normal public_oe property

public Vector2 normal
Résultat Vector2

position public_oe property

public Vector2 position
Résultat Vector2

size public_oe property

public int size
Résultat int

vertex_index public_oe property

public int vertex_index
Résultat int