CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Returns the area of the parallelgram defined by the two vectors. The result will be positive
if the sweepdirection from from to to is counterclockwise
otherwise it will be negative. If you need the angle of the triangle devide the result by 2.0
Namespace: CADabilityAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public static double Area( GeoVector2D from, GeoVector2D to ) |
Visual Basic |
---|
Public Shared Function Area ( _ from As GeoVector2D, _ to As GeoVector2D _ ) As Double |
Visual C++ |
---|
public: static double Area( GeoVector2D from, GeoVector2D to ) |
Parameters
- from
- Type: CADability..::..GeoVector2D
First vector
- to
- Type: CADability..::..GeoVector2D
Second vector