C# Класс SilverlightMappingToolBasic.UI.ShapeExtensionMethods

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Add() публичный статический Метод

public static Add ( this firstVertex, Point secondVertex ) : Point
firstVertex this
secondVertex Point
Результат Point

Distance() публичный статический Метод

public static Distance ( this origin, Point destination ) : double
origin this
destination Point
Результат double

GetMidway() публичный статический Метод

public static GetMidway ( this firstVertex, Point secondVertex ) : Point
firstVertex this
secondVertex Point
Результат Point

IsInBoundaryInclusively() публичный статический Метод

public static IsInBoundaryInclusively ( this test, Point lowerX, Point upperX, Point lowerY, Point upperY ) : bool
test this
lowerX Point
upperX Point
lowerY Point
upperY Point
Результат bool

Subtract() публичный статический Метод

public static Subtract ( this firstVertex, Point secondVertex ) : Point
firstVertex this
secondVertex Point
Результат Point