C# Класс GeometryClassLibrary.Arc

An arc is a finite line (having a start and end) that is curved as around a circle.
Наследование: IEdge
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Arc ( Arc toCopy ) : System

Creates a copy of this Arc

Arc ( Point basePoint, Point endPoint, Direction initialDirection ) : System
Arc ( Point basePoint, Point endPoint, Line normalLine ) : System
ContainingPlane ( ) : Plane
Equals ( object obj ) : bool

does the same thing as ==

GetHashCode ( ) : int
Reverse ( ) : Arc
Rotate ( Rotation passedRotation ) : Arc

Perfomrs the given rotation on the Arc a returns a new object that has been rotated

Shift ( Shift passedShift ) : Arc

Performs the given shift on the Arc and returns a new Arc that has been shifted

Translate ( Translation translation ) : Arc

Translates the arc with the given translation

operator ( ) : bool

Not a perfect equality operator, is only accurate up to the Distance Class's accuracy

Приватные методы

Метод Описание
Arc ( ) : System
Arc ( Point basePoint, Point endPoint, Point centerPoint, Direction normalDirection ) : System
IEdge ( ) : IEdge

Returns a copy of this Arc

IEdge ( Point point ) : IEdge

Translates the arc as an IEdge with the given translation

IEdge ( Rotation passedRotation ) : IEdge

Perfomrs the given rotation on the Arc as an IEdge and returns a new object that has been rotated

IEdge ( Shift passedShift ) : IEdge

Performs the given shift on this arc as an IEdge and returns it as an IEdge

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

Arc() публичный Метод

Creates a copy of this Arc
public Arc ( Arc toCopy ) : System
toCopy Arc The Arc to copy
Результат System

Arc() публичный Метод

public Arc ( Point basePoint, Point endPoint, Direction initialDirection ) : System
basePoint Point
endPoint Point
initialDirection Direction
Результат System

Arc() публичный Метод

public Arc ( Point basePoint, Point endPoint, Line normalLine ) : System
basePoint Point
endPoint Point
normalLine Line
Результат System

ContainingPlane() публичный Метод

public ContainingPlane ( ) : Plane
Результат Plane

Equals() публичный Метод

does the same thing as ==
public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

Reverse() публичный Метод

public Reverse ( ) : Arc
Результат Arc

Rotate() публичный Метод

Perfomrs the given rotation on the Arc a returns a new object that has been rotated
public Rotate ( Rotation passedRotation ) : Arc
passedRotation Rotation The Rotation to rotate this Arc with
Результат Arc

Shift() публичный Метод

Performs the given shift on the Arc and returns a new Arc that has been shifted
public Shift ( Shift passedShift ) : Arc
passedShift Shift
Результат Arc

Translate() публичный Метод

Translates the arc with the given translation
public Translate ( Translation translation ) : Arc
translation Translation The translation to apply to the Arc
Результат Arc

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

Not a perfect equality operator, is only accurate up to the Distance Class's accuracy
public static operator ( ) : bool
Результат bool