C# Class GeometryClassLibrary.PlaneRegion

Inheritance: ISurface
ファイルを表示 Open project: ParagonTruss/GeometryClassLibrary Class Usage Examples

Protected Properties

Property Type Description
_Edges List

Public Methods

Method Description
Equals ( object obj ) : bool

does the same thing as ==

Extrude ( Vector directionVector ) : Solid
GetHashCode ( ) : int
PlaneRegion ( List passedEdges ) : System

PlaneRegion ( PlaneRegion planeToCopy ) : System

creates a new Polygon that is a copy of the inputted Polygon

Rotate ( Rotation rotation ) : PlaneRegion

Rotates the plane with the given rotation

Shift ( Shift shift ) : PlaneRegion

Shifts this PlaneRegion by generically shifting each edge in the PlaneRegion

SmallestEnclosingRectangle ( ) : Polygon
operator ( ) : bool

Protected Methods

Method Description
PlaneRegion ( ) : System

Null constructor

_getNormalLine ( ) : Line

Private Methods

Method Description
ISurface ( Shift shift ) : ISurface

Method Details

Equals() public method

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

Extrude() public method

public Extrude ( Vector directionVector ) : Solid
directionVector Vector
return Solid

GetHashCode() public method

public GetHashCode ( ) : int
return int

PlaneRegion() protected method

Null constructor
protected PlaneRegion ( ) : System
return System

PlaneRegion() public method

public PlaneRegion ( List passedEdges ) : System
passedEdges List
return System

PlaneRegion() public method

creates a new Polygon that is a copy of the inputted Polygon
public PlaneRegion ( PlaneRegion planeToCopy ) : System
planeToCopy PlaneRegion
return System

Rotate() public method

Rotates the plane with the given rotation
public Rotate ( Rotation rotation ) : PlaneRegion
rotation Rotation
return PlaneRegion

Shift() public method

Shifts this PlaneRegion by generically shifting each edge in the PlaneRegion
public Shift ( Shift shift ) : PlaneRegion
shift Shift
return PlaneRegion

SmallestEnclosingRectangle() public method

public SmallestEnclosingRectangle ( ) : Polygon
return Polygon

_getNormalLine() protected method

protected _getNormalLine ( ) : Line
return Line

operator() public static method

public static operator ( ) : bool
return bool

Property Details

_Edges protected_oe property

protected List _Edges
return List