C# Class Tesselate.Tesselator

Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
cacheCount int
callBegin CallBeginDelegate
callCombine CallCombineDelegate
callEdgeFlag CallEdgeFlagDelegate
callEnd CallEndDelegate
callMesh CallMeshDelegate
callVertex CallVertexDelegate
currentSweepVertex ContourVertex
edgeDictionary Dictionary
lonelyTriList Face
mesh Mesh
simpleVertexCache Vertex[]
vertexPriorityQue MiniCollection.MaxFirstList
windingRule WindingRuleType

Public Methods

Method Description
AddVertex ( double x, double y, double z, int data ) : void
BeginContour ( ) : void
BeginPolygon ( ) : void
CallBegin ( TriangleListType triangleType ) : void
CallCombine ( double v0, double v1, double v2, int data4, double weight4, int &outData ) : void
CallEdgeFlag ( bool edgeState ) : void
CallEnd ( ) : void
CallVertex ( int vertexData ) : void
EndContour ( ) : void
EndPolygon ( ) : void
IsWindingInside ( int numCrossings ) : bool
RenderBoundary ( Mesh mesh ) : void
RenderCache ( ) : bool
RenderMesh ( Mesh mesh ) : void
Tesselator ( ) : System

Private Methods

Method Description
AddVertex ( double x, double y, int data ) : bool
CacheVertex ( double x, double y, double z, int data ) : void
CacheVertex ( double x, double y, int data ) : void
CheckOrientation ( ) : void
ComputeNormal ( double &nx, double &ny, double &nz ) : int
EmptyCache ( ) : void
GotoState ( ProcessingState newProcessingState ) : void
IsEven ( int n ) : bool
MaximumFan ( HalfEdge eOrig ) : FaceCount
MaximumStrip ( HalfEdge eOrig ) : FaceCount
ProjectPolygon ( ) : void
RenderFan ( Tesselator tess, HalfEdge e, int size ) : void
RenderLonelyTriangles ( Face f ) : void
RenderMaximumFaceGroup ( Face fOrig ) : void
RenderStrip ( Tesselator tess, HalfEdge halfEdge, int size ) : void
RenderTriangle ( Tesselator tess, HalfEdge e, int size ) : void
RequireState ( ProcessingState state ) : void

Method Details

AddVertex() public method

public AddVertex ( double x, double y, double z, int data ) : void
x double
y double
z double
data int
return void

BeginContour() public method

public BeginContour ( ) : void
return void

BeginPolygon() public method

public BeginPolygon ( ) : void
return void

CallBegin() public method

public CallBegin ( TriangleListType triangleType ) : void
triangleType TriangleListType
return void

CallCombine() public method

public CallCombine ( double v0, double v1, double v2, int data4, double weight4, int &outData ) : void
v0 double
v1 double
v2 double
data4 int
weight4 double
outData int
return void

CallEdgeFlag() public method

public CallEdgeFlag ( bool edgeState ) : void
edgeState bool
return void

CallEnd() public method

public CallEnd ( ) : void
return void

CallVertex() public method

public CallVertex ( int vertexData ) : void
vertexData int
return void

EndContour() public method

public EndContour ( ) : void
return void

EndPolygon() public method

public EndPolygon ( ) : void
return void

IsWindingInside() public method

public IsWindingInside ( int numCrossings ) : bool
numCrossings int
return bool

RenderBoundary() public method

public RenderBoundary ( Mesh mesh ) : void
mesh Mesh
return void

RenderCache() public method

public RenderCache ( ) : bool
return bool

RenderMesh() public method

public RenderMesh ( Mesh mesh ) : void
mesh Mesh
return void

Tesselator() public method

public Tesselator ( ) : System
return System

Property Details

cacheCount public_oe property

public int cacheCount
return int

callBegin public_oe property

public CallBeginDelegate callBegin
return CallBeginDelegate

callCombine public_oe property

public CallCombineDelegate callCombine
return CallCombineDelegate

callEdgeFlag public_oe property

public CallEdgeFlagDelegate callEdgeFlag
return CallEdgeFlagDelegate

callEnd public_oe property

public CallEndDelegate callEnd
return CallEndDelegate

callMesh public_oe property

public CallMeshDelegate callMesh
return CallMeshDelegate

callVertex public_oe property

public CallVertexDelegate callVertex
return CallVertexDelegate

currentSweepVertex public_oe property

public ContourVertex currentSweepVertex
return ContourVertex

edgeDictionary public_oe property

public Dictionary,Tesselate edgeDictionary
return Dictionary

lonelyTriList public_oe property

public Face,Tesselate lonelyTriList
return Face

mesh public_oe property

public Mesh,Tesselate mesh
return Mesh

simpleVertexCache public_oe property

public Vertex[] simpleVertexCache
return Vertex[]

vertexPriorityQue public_oe property

public MiniCollection.MaxFirstList vertexPriorityQue
return MiniCollection.MaxFirstList

windingRule public_oe property

public WindingRuleType windingRule
return WindingRuleType