C# Class GeometryClassLibrary.Arc

An arc is a finite line (having a start and end) that is curved as around a circle.
Inheritance: IEdge
Afficher le fichier Open project: ParagonTruss/GeometryClassLibrary Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

Arc() public méthode

Creates a copy of this Arc
public Arc ( Arc toCopy ) : System
toCopy Arc The Arc to copy
Résultat System

Arc() public méthode

public Arc ( Point basePoint, Point endPoint, Direction initialDirection ) : System
basePoint Point
endPoint Point
initialDirection Direction
Résultat System

Arc() public méthode

public Arc ( Point basePoint, Point endPoint, Line normalLine ) : System
basePoint Point
endPoint Point
normalLine Line
Résultat System

ContainingPlane() public méthode

public ContainingPlane ( ) : Plane
Résultat Plane

Equals() public méthode

does the same thing as ==
public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Reverse() public méthode

public Reverse ( ) : Arc
Résultat Arc

Rotate() public méthode

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
Résultat Arc

Shift() public méthode

Performs the given shift on the Arc and returns a new Arc that has been shifted
public Shift ( Shift passedShift ) : Arc
passedShift Shift
Résultat Arc

Translate() public méthode

Translates the arc with the given translation
public Translate ( Translation translation ) : Arc
translation Translation The translation to apply to the Arc
Résultat Arc

operator() public static méthode

Not a perfect equality operator, is only accurate up to the Distance Class's accuracy
public static operator ( ) : bool
Résultat bool