summaryrefslogtreecommitdiff
path: root/basegfx/inc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-11-02 12:54:09 +0000
committerKurt Zenker <kz@openoffice.org>2005-11-02 12:54:09 +0000
commit83a5fd5d1c880a1689bb15f9253a9eddbb9e683b (patch)
tree5e749dbf67f2bd8b227921acdf7b6d0764833b56 /basegfx/inc
parente73c742fa5d8b278a04315ae8331a22537a1fe78 (diff)
INTEGRATION: CWS canvas02 (1.5.26); FILE MERGED
2005/10/08 13:03:17 thb 1.5.26.2: RESYNC: (1.5-1.6); FILE MERGED 2005/07/28 10:10:43 thb 1.5.26.1: Join from cws_src680_aw024: #i48939# and new rendering subsystem need AW's clipper changes
Diffstat (limited to 'basegfx/inc')
-rw-r--r--basegfx/inc/basegfx/polygon/b3dpolygontools.hxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx b/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx
index 500d7f7aa5f7..3997e8f72cde 100644
--- a/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx
+++ b/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: b3dpolygontools.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 20:30:33 $
+ * last change: $Author: kz $ $Date: 2005-11-02 13:54:09 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -79,6 +79,15 @@ namespace basegfx
// get size of polygon. Control vectors are included in that ranges.
::basegfx::B3DRange getRange(const ::basegfx::B3DPolygon& rCandidate);
+ // get normal vector of polygon
+ ::basegfx::B3DVector getNormal(const ::basegfx::B3DPolygon& rCandidate);
+
+ // get signed area of polygon
+ double getSignedArea(const B3DPolygon& rCandidate);
+
+ // get area of polygon
+ double getArea(const ::basegfx::B3DPolygon& rCandidate);
+
// get length of polygon edge from point nIndex to nIndex + 1
double getEdgeLength(const ::basegfx::B3DPolygon& rCandidate, sal_uInt32 nIndex);