C# 클래스 TriangleNet.Geometry.InputGeometry

The input geometry which will be triangulated. May represent a pointset or a planar straight line graph.
파일 보기 프로젝트 열기: RegrowthStudios/VoxelRTS 1 사용 예제들

공개 메소드들

메소드 설명
AddHole ( double x, double y ) : void

Adds a hole location to the geometry.

AddPoint ( double x, double y ) : void

Adds a point to the geometry.

AddPoint ( double x, double y, int boundary ) : void

Adds a point to the geometry.

AddPoint ( double x, double y, int boundary, double attribute ) : void

Adds a point to the geometry.

AddRegion ( double x, double y, int id ) : void

Adds a hole location to the geometry.

AddSegment ( int p0, int p1 ) : void

Adds a segment to the geometry.

AddSegment ( int p0, int p1, int boundary ) : void

Adds a segment to the geometry.

Clear ( ) : void

Clear input geometry.

InputGeometry ( ) : System

Initializes a new instance of the InputGeometry class.

InputGeometry ( int capacity ) : System

Initializes a new instance of the InputGeometry class. The point list will be initialized with a given capacity.

메소드 상세

AddHole() 공개 메소드

Adds a hole location to the geometry.
public AddHole ( double x, double y ) : void
x double X coordinate of the hole.
y double Y coordinate of the hole.
리턴 void

AddPoint() 공개 메소드

Adds a point to the geometry.
public AddPoint ( double x, double y ) : void
x double X coordinate.
y double Y coordinate.
리턴 void

AddPoint() 공개 메소드

Adds a point to the geometry.
public AddPoint ( double x, double y, int boundary ) : void
x double X coordinate.
y double Y coordinate.
boundary int Boundary marker.
리턴 void

AddPoint() 공개 메소드

Adds a point to the geometry.
public AddPoint ( double x, double y, int boundary, double attribute ) : void
x double X coordinate.
y double Y coordinate.
boundary int Boundary marker.
attribute double Point attribute.
리턴 void

AddRegion() 공개 메소드

Adds a hole location to the geometry.
public AddRegion ( double x, double y, int id ) : void
x double X coordinate of the hole.
y double Y coordinate of the hole.
id int The region id.
리턴 void

AddSegment() 공개 메소드

Adds a segment to the geometry.
public AddSegment ( int p0, int p1 ) : void
p0 int First endpoint.
p1 int Second endpoint.
리턴 void

AddSegment() 공개 메소드

Adds a segment to the geometry.
public AddSegment ( int p0, int p1, int boundary ) : void
p0 int First endpoint.
p1 int Second endpoint.
boundary int Segment marker.
리턴 void

Clear() 공개 메소드

Clear input geometry.
public Clear ( ) : void
리턴 void

InputGeometry() 공개 메소드

Initializes a new instance of the InputGeometry class.
public InputGeometry ( ) : System
리턴 System

InputGeometry() 공개 메소드

Initializes a new instance of the InputGeometry class. The point list will be initialized with a given capacity.
public InputGeometry ( int capacity ) : System
capacity int Point list capacity.
리턴 System