C# 클래스 MapAround.Rendering.Polygonizer

Преобразователь линий в полигон.
상속: IPolygonizer
파일 보기 프로젝트 열기: gkrsu/maparound.core

공개 메소드들

메소드 설명
GetPolygon ( Contour contour ) : IList

Преобразует контур в полигон.

GetPolygon ( LinePath path ) : IList

Преобразует ломаную линию в полигон.

비공개 메소드들

메소드 설명
addCap ( LineCap cap, IList vertexList, CapLocation capLocation, double x1, double y1, double x2, double y2 ) : void
addInteriorJoin ( IList vertexList, double x1, double y1, double x2, double y2, double x3, double y3 ) : void
addJoin ( LineJoin join, IList vertexList, double x1, double y1, double x2, double y2, double x3, double y3 ) : void
geContourContour ( Contour contour ) : Contour
getAngle ( ICoordinate p1, ICoordinate p2, ICoordinate p3, bool counterClockwise ) : double

Возвращает угол между лучами p2p1 и p2p3 отсчитываемый от луча p2p1

getCirclePoints ( ICoordinate point, double startAngle, double endAngle, double distance, int pointsPerCircle ) : ICoordinate[]
getPathContour ( LinePath path ) : Contour
getSegmentAngle ( double x1, double y1, double x2, double y2 ) : double
pointOnCircle ( double baseX, double baseY, double radius, double angle ) : ICoordinate
pointQuadrantNumber ( ICoordinate p ) : int
translateAngleQuadrant ( double angle, int quadrantNumber ) : double

메소드 상세

GetPolygon() 공개 메소드

Преобразует контур в полигон.
public GetPolygon ( Contour contour ) : IList
contour Contour Контур
리턴 IList

GetPolygon() 공개 메소드

Преобразует ломаную линию в полигон.
public GetPolygon ( LinePath path ) : IList
path LinePath Ломаная линия
리턴 IList