Static methods

staticinlineforCells(count:Int):Iterator<Int>

staticinlineforEdges(count:Int):Iterator<Int>

staticinlineforFaces(count:Int):Iterator<Int>

staticinlineforVertices(count:Int):Iterator<Int>

staticload(context:Context, path:String):Mesh

Constructor

@:value({ cells : 0, faces : 0, edges : 0 })new(vertices:Int, edges:Int = 0, faces:Int = 0, cells:Int = 0)

Methods

attribute<Element, Value>(kind:MeshElementKind<Element>, storage:FieldArg<Value>):MeshAttribute<Element, Value>

cells():Iterator<Int>

convertIndex(type:MeshElementType, conversion:MeshIndexConversion, index:Int):Int

edges():Iterator<Int>

element<T>(kind:MeshElementKind<T>, index:Int):MeshElement<T>

faces():Iterator<Int>

neighbors(from:MeshElementType, fromIndex:Int, to:MeshElementType):Array<Int>

relation<From, To>(from:MeshElementKind<From>, to:MeshElementKind<To>):MeshRelation<From, To>

relationAccess(from:MeshElementType, fromIndex:Int, to:MeshElementType, neighborIndex:Int):Int

relationSize(from:MeshElementType, fromIndex:Int, to:MeshElementType):Int

reorder(type:MeshElementType, newToOld:Array<Int>):Mesh

save(path:String):Void

setIndexMapping(type:MeshElementType, conversion:MeshIndexConversion, values:Array<Int>):Void

setRelation(from:MeshElementType, fromIndex:Int, to:MeshElementType, targets:Array<Int>):Void

vertices():Iterator<Int>