Unit msepolygon

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record polygoninfoty  
Class tpolygon  

Functions and Procedures

function movepoint(const start: complexty; const angle: real; const dist: real): complexty;
function angle(const start, stop: complexty): real;
function halfangle(a,b: real): real;
function arcangle(a,b: real): real;
procedure projtranslate(var matrix: projmatrixty; const tx,ty: real);
procedure projscale(var matrix: projmatrixty; const sx,sy: real);
procedure projrotate(var matrix: projmatrixty; const angle: real);
procedure projconcat(const a,b: projmatrixty; out dest: projmatrixty);
procedure project(const matrix: projmatrixty; var point: pointty); overload;
procedure project(const matrix: projmatrixty; var point: complexty); overload;
procedure project(const matrix: projmatrixty; var points: complexarty); overload;
procedure realtointpoints(const source: complexarty; out dest: pointarty);

Types

polygonstatety = (...);
polygonstatesty = set of polygonstatety;
projvectty = array[0..1] of real;
projmatrixty = array[0..2] of projvectty;

Constants

unityprojmatrix: projmatrixty = ((1,0),(0,1),(0,0));

Description

Functions and Procedures

function movepoint(const start: complexty; const angle: real; const dist: real): complexty;
 
function angle(const start, stop: complexty): real;
 
function halfangle(a,b: real): real;
 
function arcangle(a,b: real): real;
 
procedure projtranslate(var matrix: projmatrixty; const tx,ty: real);
 
procedure projscale(var matrix: projmatrixty; const sx,sy: real);
 
procedure projrotate(var matrix: projmatrixty; const angle: real);
 
procedure projconcat(const a,b: projmatrixty; out dest: projmatrixty);
 
procedure project(const matrix: projmatrixty; var point: pointty); overload;
 
procedure project(const matrix: projmatrixty; var point: complexty); overload;
 
procedure project(const matrix: projmatrixty; var points: complexarty); overload;
 
procedure realtointpoints(const source: complexarty; out dest: pointarty);
 

Types

polygonstatety = (...);
 
Values
  • pos_geometryvalid
polygonstatesty = set of polygonstatety;
 
projvectty = array[0..1] of real;
 
projmatrixty = array[0..2] of projvectty;
 

Constants

unityprojmatrix: projmatrixty = ((1,0),(0,1),(0,0));
 

Generated by PasDoc 0.16.0.