Description | Hierarchy | Fields | Methods | Properties |
type TGpcPolygonClass = class(TObject)
FPolygon: Tgpc_polygon; |
function GetContours(ContourIndex: integer): Tgpc_vertex_list; |
|
function GetHoles(ContourIndex: integer): boolean; |
|
function GetNumberOfContours: integer; |
|
function GetVertexCount(ContourIndex: integer): integer; |
|
function GetVertices(ContourIndex, VertexIndex: integer): Tgpc_vertex; |
|
procedure SetContours(ContourIndex: integer; const Value: Tgpc_vertex_list); |
|
procedure SetHoles(ContourIndex: integer; const Value: boolean); |
|
procedure SetNumberOfContours(const Value: integer); |
|
procedure SetVertexCount(ContourIndex: integer; const Value: integer); |
|
procedure SetVertices(ContourIndex, VertexIndex: integer; const Value: Tgpc_vertex); |
|
Constructor Create; |
|
Constructor CreateFromOperation(Operation: Tgpc_op; Subject, Clip: TGpcPolygonClass); |
|
Destructor Destroy; override; |
|
procedure ReadFromFile(FileName: string; ReadHoles: boolean); |
|
procedure WriteToFile(FileName: string; WriteHoles: boolean); |
|
function ContourArea(ContourIndex: integer): double; |
|
procedure AddContour(const contour: Tgpc_vertex_list; Hole: boolean); |
|
function TotalVertexCount: integer; |
property NumberOfContours: integer read GetNumberOfContours
write SetNumberOfContours; |
|
property Contours[ContourIndex:integer]: Tgpc_vertex_list read GetContours
write SetContours; |
|
property Holes[ContourIndex:integer]: boolean read GetHoles write SetHoles; |
|
property VertexCount[ContourIndex:integer]: integer read GetVertexCount
write SetVertexCount; |
|
property Vertices[ContourIndex,VertexIndex:integer]: Tgpc_vertex
read GetVertices write SetVertices; |
FPolygon: Tgpc_polygon; |
|
function GetContours(ContourIndex: integer): Tgpc_vertex_list; |
|
function GetHoles(ContourIndex: integer): boolean; |
|
function GetNumberOfContours: integer; |
|
function GetVertexCount(ContourIndex: integer): integer; |
|
function GetVertices(ContourIndex, VertexIndex: integer): Tgpc_vertex; |
|
procedure SetContours(ContourIndex: integer; const Value: Tgpc_vertex_list); |
|
procedure SetHoles(ContourIndex: integer; const Value: boolean); |
|
procedure SetNumberOfContours(const Value: integer); |
|
procedure SetVertexCount(ContourIndex: integer; const Value: integer); |
|
procedure SetVertices(ContourIndex, VertexIndex: integer; const Value: Tgpc_vertex); |
|
Constructor Create; |
|
Constructor CreateFromOperation(Operation: Tgpc_op; Subject, Clip: TGpcPolygonClass); |
|
Destructor Destroy; override; |
|
procedure ReadFromFile(FileName: string; ReadHoles: boolean); |
|
procedure WriteToFile(FileName: string; WriteHoles: boolean); |
|
function ContourArea(ContourIndex: integer): double; |
|
procedure AddContour(const contour: Tgpc_vertex_list; Hole: boolean); |
|
function TotalVertexCount: integer; |
|
property NumberOfContours: integer read GetNumberOfContours
write SetNumberOfContours; |
|
Setting |
property Contours[ContourIndex:integer]: Tgpc_vertex_list read GetContours
write SetContours; |
|
property Holes[ContourIndex:integer]: boolean read GetHoles write SetHoles; |
|
property VertexCount[ContourIndex:integer]: integer read GetVertexCount
write SetVertexCount; |
|
Setting |
property Vertices[ContourIndex,VertexIndex:integer]: Tgpc_vertex
read GetVertices write SetVertices; |
|