C# Class Contracts.IShapeHelpersContract

Inheritance: IShapeHelpers
Mostra file Open project: fealty/Frost

Public Methods

Method Description
Combine ( Shape sourcePath, Shape destinationPath, CombinationOperation operation, float tolerance ) : Shape
Contains ( Shape path, Point point, float tolerance ) : bool
CreateDistanceField ( Shape path, Size resolution, float tolerance ) : Canvas
DeterminePoint ( Shape path, float length, Point &tangentVector, float tolerance ) : Point
DeterminePoint ( Shape path, float length, float tolerance ) : Point
MeasureArea ( Shape path, float tolerance ) : float
MeasureLength ( Shape path, float tolerance ) : float
MeasureRegion ( Shape path ) : Rectangle
Simplify ( Shape path, float tolerance ) : Shape
Tessellate ( Shape path, ITessellationSink sink, float tolerance ) : void
Widen ( Shape path, float width, float tolerance ) : Shape

Method Details

Combine() public method

public Combine ( Shape sourcePath, Shape destinationPath, CombinationOperation operation, float tolerance ) : Shape
sourcePath Shape
destinationPath Shape
operation CombinationOperation
tolerance float
return Shape

Contains() public method

public Contains ( Shape path, Point point, float tolerance ) : bool
path Shape
point Point
tolerance float
return bool

CreateDistanceField() public method

public CreateDistanceField ( Shape path, Size resolution, float tolerance ) : Canvas
path Shape
resolution Size
tolerance float
return Canvas

DeterminePoint() public method

public DeterminePoint ( Shape path, float length, Point &tangentVector, float tolerance ) : Point
path Shape
length float
tangentVector Point
tolerance float
return Point

DeterminePoint() public method

public DeterminePoint ( Shape path, float length, float tolerance ) : Point
path Shape
length float
tolerance float
return Point

MeasureArea() public method

public MeasureArea ( Shape path, float tolerance ) : float
path Shape
tolerance float
return float

MeasureLength() public method

public MeasureLength ( Shape path, float tolerance ) : float
path Shape
tolerance float
return float

MeasureRegion() public method

public MeasureRegion ( Shape path ) : Rectangle
path Shape
return Rectangle

Simplify() public method

public Simplify ( Shape path, float tolerance ) : Shape
path Shape
tolerance float
return Shape

Tessellate() public method

public Tessellate ( Shape path, ITessellationSink sink, float tolerance ) : void
path Shape
sink ITessellationSink
tolerance float
return void

Widen() public method

public Widen ( Shape path, float width, float tolerance ) : Shape
path Shape
width float
tolerance float
return Shape