C# Class SuperImageEvolver.DNA

Inheritance: ICloneable
Afficher le fichier Open project: fragmer/SuperImageEvolver Class Usage Examples

Méthodes publiques

Свойство Type Description
Divergence double
LastMutation MutationType
Shapes Shape[]

Méthodes publiques

Méthode Description
Clone ( ) : object
DNA ( ) : System
DNA ( DNA other ) : System
DNA ( NBTag tag ) : System
DNA ( Stream stream, int shapes, int vertices ) : System
DivideShape ( Random rand, int shapeToDivide, int shapeToSacrifice ) : void
SerializeNBT ( string tagName ) : NBTag
ShiftShapeIndex ( int source, int dest ) : void
SwapShapes ( Random rand ) : void

Private Methods

Méthode Description
Lerp ( PointF p1, PointF p2, float amount ) : PointF
ShiftPoints ( Shape shape, int shift ) : Shape
Subdivide ( Random rand, Shape shape, int extraVertices ) : void

Method Details

Clone() public méthode

public Clone ( ) : object
Résultat object

DNA() public méthode

public DNA ( ) : System
Résultat System

DNA() public méthode

public DNA ( DNA other ) : System
other DNA
Résultat System

DNA() public méthode

public DNA ( NBTag tag ) : System
tag NBTag
Résultat System

DNA() public méthode

public DNA ( Stream stream, int shapes, int vertices ) : System
stream Stream
shapes int
vertices int
Résultat System

DivideShape() public méthode

public DivideShape ( Random rand, int shapeToDivide, int shapeToSacrifice ) : void
rand System.Random
shapeToDivide int
shapeToSacrifice int
Résultat void

SerializeNBT() public méthode

public SerializeNBT ( string tagName ) : NBTag
tagName string
Résultat NBTag

ShiftShapeIndex() public méthode

public ShiftShapeIndex ( int source, int dest ) : void
source int
dest int
Résultat void

SwapShapes() public méthode

public SwapShapes ( Random rand ) : void
rand Random
Résultat void

Property Details

Divergence public_oe property

public double Divergence
Résultat double

LastMutation public_oe property

public MutationType LastMutation
Résultat MutationType

Shapes public_oe property

public Shape[] Shapes
Résultat Shape[]