C# Class GeometryClassLibrary.Arc

An arc is a finite line (having a start and end) that is curved as around a circle.
Inheritance: IEdge
ファイルを表示 Open project: ParagonTruss/GeometryClassLibrary Class Usage Examples

Public Methods

Method 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

Method 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 method

Creates a copy of this Arc
public Arc ( Arc toCopy ) : System
toCopy Arc The Arc to copy
return System

Arc() public method

public Arc ( Point basePoint, Point endPoint, Direction initialDirection ) : System
basePoint Point
endPoint Point
initialDirection Direction
return System

Arc() public method

public Arc ( Point basePoint, Point endPoint, Line normalLine ) : System
basePoint Point
endPoint Point
normalLine Line
return System

ContainingPlane() public method

public ContainingPlane ( ) : Plane
return Plane

Equals() public method

does the same thing as ==
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Reverse() public method

public Reverse ( ) : Arc
return Arc

Rotate() public method

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
return Arc

Shift() public method

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

Translate() public method

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

operator() public static method

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