Class TSegment

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TSegment = class(TObject)

Description

Hierarchy

Overview

Fields

Private FFirstVertex: TVertex;
Private FSecondVertex: TVertex;

Methods

Private function Intercept: double;
Private procedure SimpleIntersection(ASegment: TSegment; ResultVertex: TVertex);
Private function OverLap(ASegment: TSegment; ResultVertex: TVertex): boolean;
Public constructor Create(FirstVertex, SecondVertex: TVertex);
Public destructor Destroy; override;
Public function Intersection(ASegment: TSegment; ResultVertex: TVertex): boolean;
Public function IsHorizontal: boolean;
Public function IsVertical: boolean;
Public function VertexWithinExtents(AVertex: TVertex): boolean;
Public function Slope: double;

Properties

Public property FirstVertex: TVertex read FFirstVertex;
Public property SecondVertex: TVertex read FSecondVertex;

Description

Fields

Private FFirstVertex: TVertex;
 
Private FSecondVertex: TVertex;
 

Methods

Private function Intercept: double;
 
Private procedure SimpleIntersection(ASegment: TSegment; ResultVertex: TVertex);
 
Private function OverLap(ASegment: TSegment; ResultVertex: TVertex): boolean;
 
Public constructor Create(FirstVertex, SecondVertex: TVertex);
 
Public destructor Destroy; override;
 
Public function Intersection(ASegment: TSegment; ResultVertex: TVertex): boolean;
 
Public function IsHorizontal: boolean;
 
Public function IsVertical: boolean;
 
Public function VertexWithinExtents(AVertex: TVertex): boolean;
 
Public function Slope: double;
 

Properties

Public property FirstVertex: TVertex read FFirstVertex;
 
Public property SecondVertex: TVertex read FSecondVertex;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:42:03