C# Class Isosurface.AdaptiveDualContouring2D.QuadtreeNode

ファイルを表示 Open project: Lin20/isosurface Class Usage Examples

Public Properties

Property Type Description
children Isosurface.AdaptiveDualContouring2D.QuadtreeNode[]
draw_info QuadtreeDrawInfo
position Vector2
size int
type QuadtreeNodeType

Public Methods

Method Description
Build ( Vector2 min, int size, float threshold, List vertices, int grid_size ) : int
ConstructLeaf ( int &v_index, List vertices, int grid_size ) : bool
ConstructNodes ( int &v_index, List vertices, int grid_size ) : bool
ProcessEdge ( QuadtreeNode node1, QuadtreeNode node2, int direction, List indexes ) : void
ProcessFace ( List indexes ) : void
QuadtreeNode ( ) : System

Method Details

Build() public method

public Build ( Vector2 min, int size, float threshold, List vertices, int grid_size ) : int
min Vector2
size int
threshold float
vertices List
grid_size int
return int

ConstructLeaf() public method

public ConstructLeaf ( int &v_index, List vertices, int grid_size ) : bool
v_index int
vertices List
grid_size int
return bool

ConstructNodes() public method

public ConstructNodes ( int &v_index, List vertices, int grid_size ) : bool
v_index int
vertices List
grid_size int
return bool

ProcessEdge() public static method

public static ProcessEdge ( QuadtreeNode node1, QuadtreeNode node2, int direction, List indexes ) : void
node1 QuadtreeNode
node2 QuadtreeNode
direction int
indexes List
return void

ProcessFace() public method

public ProcessFace ( List indexes ) : void
indexes List
return void

QuadtreeNode() public method

public QuadtreeNode ( ) : System
return System

Property Details

children public_oe property

public QuadtreeNode[],Isosurface.AdaptiveDualContouring2D children
return Isosurface.AdaptiveDualContouring2D.QuadtreeNode[]

draw_info public_oe property

public QuadtreeDrawInfo,Isosurface.AdaptiveDualContouring2D draw_info
return QuadtreeDrawInfo

position public_oe property

public Vector2 position
return Vector2

size public_oe property

public int size
return int

type public_oe property

public QuadtreeNodeType type
return QuadtreeNodeType