AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkPoint.CrossProduct Method (TAgkPoint, TAgkPoint)

2D vector cross product analog. The cross product of 2D vectors results in a 3D vector with only a Z component.

Syntax
Pascal
class function CrossProduct(const A: TAgkPoint; const B: TAgkPoint): Single; overload;
Parameters 
Description 
const A: TAgkPoint 
the first point (or vector). 
const B: TAgkPoint 
the second point (or vector). 

The magnitude of the Z value.

Copyright (c) 2012. All rights reserved.