C# 클래스 GeometryClassLibrary.ListLineSegmentExtensionMethods

파일 보기 프로젝트 열기: ParagonTruss/GeometryClassLibrary

공개 메소드들

메소드 설명
AreAllCoplanar ( this passedLineList ) : bool

Returns true if all of the passed lines are in the same plane, false otherwise

AreAllParallel ( this passedLines ) : bool

checks to see whether every line is parallel

DoFormClosedRegion ( this passedBoundaries ) : bool

Puts the boundaries in order and then checks if the end point of the last one is on the base point of the first one

FindAreaOfPolygon ( this passedBorders ) : Area

finds the area of an irregular polygon. ASSUMES THAT LINESEGMENTS ARE IN CLOCKWISE ORDER!!!!! May need to change later

MakeCoplanarLineSegmentsIntoRegions ( this passedLineSegments ) : List
RotatePointsAboutAnAxis ( this segments, Line axis, System.Angle rotateAngle ) : List

takes the points from a list of line segments, rotates them, and turns them back into segments

RoundAllPoints ( this passedBoundaries, int passedNumberOfDecimals ) : List
Shift ( this passedLineSegments, Shift passedShift ) : List
SortIntoClockWiseSegments ( this borders ) : IEnumerable

Will break down all line segments into points and form them into clockwise traveling segments

메소드 상세

AreAllCoplanar() 공개 정적인 메소드

Returns true if all of the passed lines are in the same plane, false otherwise
public static AreAllCoplanar ( this passedLineList ) : bool
passedLineList this
리턴 bool

AreAllParallel() 공개 정적인 메소드

checks to see whether every line is parallel
public static AreAllParallel ( this passedLines ) : bool
passedLines this passed List of Lines
리턴 bool

DoFormClosedRegion() 공개 정적인 메소드

Puts the boundaries in order and then checks if the end point of the last one is on the base point of the first one
public static DoFormClosedRegion ( this passedBoundaries ) : bool
passedBoundaries this
리턴 bool

FindAreaOfPolygon() 공개 정적인 메소드

finds the area of an irregular polygon. ASSUMES THAT LINESEGMENTS ARE IN CLOCKWISE ORDER!!!!! May need to change later
public static FindAreaOfPolygon ( this passedBorders ) : Area
passedBorders this
리턴 Area

MakeCoplanarLineSegmentsIntoRegions() 공개 정적인 메소드

public static MakeCoplanarLineSegmentsIntoRegions ( this passedLineSegments ) : List
passedLineSegments this
리턴 List

RotatePointsAboutAnAxis() 공개 정적인 메소드

takes the points from a list of line segments, rotates them, and turns them back into segments
public static RotatePointsAboutAnAxis ( this segments, Line axis, System.Angle rotateAngle ) : List
segments this
axis Line
rotateAngle System.Angle
리턴 List

RoundAllPoints() 공개 정적인 메소드

public static RoundAllPoints ( this passedBoundaries, int passedNumberOfDecimals ) : List
passedBoundaries this
passedNumberOfDecimals int
리턴 List

Shift() 공개 정적인 메소드

public static Shift ( this passedLineSegments, Shift passedShift ) : List
passedLineSegments this
passedShift Shift
리턴 List

SortIntoClockWiseSegments() 공개 정적인 메소드

Will break down all line segments into points and form them into clockwise traveling segments
public static SortIntoClockWiseSegments ( this borders ) : IEnumerable
borders this
리턴 IEnumerable