C# Class SilverlightMappingToolBasic.UI.ShapeExtensionMethods

Afficher le fichier Open project: chris-tomich/Glyma

Méthodes publiques

Méthode Description
Add ( this firstVertex, Point secondVertex ) : Point
Distance ( this origin, Point destination ) : double
GetMidway ( this firstVertex, Point secondVertex ) : Point
IsInBoundaryInclusively ( this test, Point lowerX, Point upperX, Point lowerY, Point upperY ) : bool
Subtract ( this firstVertex, Point secondVertex ) : Point

Method Details

Add() public static méthode

public static Add ( this firstVertex, Point secondVertex ) : Point
firstVertex this
secondVertex Point
Résultat Point

Distance() public static méthode

public static Distance ( this origin, Point destination ) : double
origin this
destination Point
Résultat double

GetMidway() public static méthode

public static GetMidway ( this firstVertex, Point secondVertex ) : Point
firstVertex this
secondVertex Point
Résultat Point

IsInBoundaryInclusively() public static méthode

public static IsInBoundaryInclusively ( this test, Point lowerX, Point upperX, Point lowerY, Point upperY ) : bool
test this
lowerX Point
upperX Point
lowerY Point
upperY Point
Résultat bool

Subtract() public static méthode

public static Subtract ( this firstVertex, Point secondVertex ) : Point
firstVertex this
secondVertex Point
Résultat Point