C# 클래스 Poly2Tri.Triangulation.Polygon.Polygon

상속: Triangulatable
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_holes List
_last PolygonPoint
_points List
_steinerPoints List
_triangles List

공개 메소드들

메소드 설명
AddHole ( Polygon poly ) : void

Add a hole to the polygon.

AddPoint ( PolygonPoint p ) : void

Adds a point after the last in the polygon.

AddPoints ( IEnumerable list ) : void

Inserts list (after last point in polygon?)

AddSteinerPoint ( TriangulationPoint point ) : void
AddSteinerPoints ( List points ) : void
AddTriangle ( DelaunayTriangle t ) : void
AddTriangles ( IEnumerable list ) : void
ClearSteinerPoints ( ) : void
ClearTriangles ( ) : void
InsertPointAfter ( PolygonPoint point, PolygonPoint newPoint ) : void

Inserts newPoint after point.

Polygon ( ) : System
Polygon ( IEnumerable points ) : System

Create a polygon from a list of at least 3 points with no duplicates.

Polygon ( IList points ) : System

Create a polygon from a list of at least 3 points with no duplicates.

PrepareTriangulation ( TriangulationContext tcx ) : void

Creates constraints and populates the context with points

RemovePoint ( PolygonPoint p ) : void

Removes a point from the polygon.

메소드 상세

AddHole() 공개 메소드

Add a hole to the polygon.
public AddHole ( Polygon poly ) : void
poly Polygon A subtraction polygon fully contained inside this polygon.
리턴 void

AddPoint() 공개 메소드

Adds a point after the last in the polygon.
public AddPoint ( PolygonPoint p ) : void
p PolygonPoint The point to add
리턴 void

AddPoints() 공개 메소드

Inserts list (after last point in polygon?)
public AddPoints ( IEnumerable list ) : void
list IEnumerable
리턴 void

AddSteinerPoint() 공개 메소드

public AddSteinerPoint ( TriangulationPoint point ) : void
point TriangulationPoint
리턴 void

AddSteinerPoints() 공개 메소드

public AddSteinerPoints ( List points ) : void
points List
리턴 void

AddTriangle() 공개 메소드

public AddTriangle ( DelaunayTriangle t ) : void
t Poly2Tri.Triangulation.Delaunay.DelaunayTriangle
리턴 void

AddTriangles() 공개 메소드

public AddTriangles ( IEnumerable list ) : void
list IEnumerable
리턴 void

ClearSteinerPoints() 공개 메소드

public ClearSteinerPoints ( ) : void
리턴 void

ClearTriangles() 공개 메소드

public ClearTriangles ( ) : void
리턴 void

InsertPointAfter() 공개 메소드

Inserts newPoint after point.
public InsertPointAfter ( PolygonPoint point, PolygonPoint newPoint ) : void
point PolygonPoint The point to insert after in the polygon
newPoint PolygonPoint The point to insert into the polygon
리턴 void

Polygon() 공개 메소드

public Polygon ( ) : System
리턴 System

Polygon() 공개 메소드

Create a polygon from a list of at least 3 points with no duplicates.
public Polygon ( IEnumerable points ) : System
points IEnumerable A list of unique points.
리턴 System

Polygon() 공개 메소드

Create a polygon from a list of at least 3 points with no duplicates.
public Polygon ( IList points ) : System
points IList A list of unique points
리턴 System

PrepareTriangulation() 공개 메소드

Creates constraints and populates the context with points
public PrepareTriangulation ( TriangulationContext tcx ) : void
tcx TriangulationContext The context
리턴 void

RemovePoint() 공개 메소드

Removes a point from the polygon.
public RemovePoint ( PolygonPoint p ) : void
p PolygonPoint
리턴 void

프로퍼티 상세

_holes 보호되어 있는 프로퍼티

protected List _holes
리턴 List

_last 보호되어 있는 프로퍼티

protected PolygonPoint,Poly2Tri.Triangulation.Polygon _last
리턴 PolygonPoint

_points 보호되어 있는 프로퍼티

protected List _points
리턴 List

_steinerPoints 보호되어 있는 프로퍼티

protected List _steinerPoints
리턴 List

_triangles 보호되어 있는 프로퍼티

protected List _triangles
리턴 List