From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/class_NLMISC__CPolygon.html | 322 +++++++++++++++++++++++++++ 1 file changed, 322 insertions(+) create mode 100644 docs/doxygen/nel/class_NLMISC__CPolygon.html (limited to 'docs/doxygen/nel/class_NLMISC__CPolygon.html') diff --git a/docs/doxygen/nel/class_NLMISC__CPolygon.html b/docs/doxygen/nel/class_NLMISC__CPolygon.html new file mode 100644 index 00000000..efd23021 --- /dev/null +++ b/docs/doxygen/nel/class_NLMISC__CPolygon.html @@ -0,0 +1,322 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLMISC::CPolygon Class Reference

A polygon, with an unlimited size of vertices. +More... +

+#include <polygon.h> +

+Collaboration diagram for NLMISC::CPolygon:

Collaboration graph
+ + + +
[legend]
List of all members. + + + + + + + + + + + + +

Public Methods

 CPolygon ()
 Constructor. More...

 CPolygon (const CVector &a, const CVector &b, const CVector &c)
 Constructor. Init with a triangle. More...

sint getNumVertices () const
void clip (const CPlane *planes, uint nPlanes)
 Clip a polygon with a set of planes. Cohen-sutherland... clipPolygonBack() is used on planes. More...

void clip (const std::vector<CPlane> &planes)
 Clip a polygon with a set of planes. Cohen-sutherland clipping... clipPolygonBack() is used on planes. More...


Public Attributes

std::vector<CVectorVertices
+

Detailed Description

+A polygon, with an unlimited size of vertices. +

+

+Author(s):
+ Lionel Berenguier , Nevrax France
+Date:
+ 2000
+

+ +

+Definition at line 49 of file polygon.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + +
+NLMISC::CPolygon::CPolygon ( + +) [inline] +
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 58 of file polygon.h.

+

+ + + + +
+ + + + + + + + + + + + + + +
+NLMISC::CPolygon::CPolygon ( + +const CVector & a, +
+const CVector & b, +
+const CVector & c ) +
+
+ + + + + +
+   + + +

+Constructor. Init with a triangle. +

+ +

+Definition at line 37 of file polygon.cpp.

+


Member Function Documentation

+

+ + + + +
+ + + + + + +
+void NLMISC::CPolygon::clip ( + +const std::vector< CPlane >& planes ) +
+
+ + + + + +
+   + + +

+Clip a polygon with a set of planes. Cohen-sutherland clipping... clipPolygonBack() is used on planes. +

+ +

+Definition at line 79 of file polygon.cpp.

+

+ + + + +
+ + + + + + + + + + +
+void NLMISC::CPolygon::clip ( + +const CPlane * planes, +
+uint nPlanes ) +
+
+ + + + + +
+   + + +

+Clip a polygon with a set of planes. Cohen-sutherland... clipPolygonBack() is used on planes. +

+ +

+Definition at line 46 of file polygon.cpp.

+

+ + + + +
+ + + + + + +
+sint NLMISC::CPolygon::getNumVertices ( + +) const [inline] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 62 of file polygon.h.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+std::vector< CVector > NLMISC::CPolygon::Vertices +
+
+ + + + + +
+   + + +

+ +

+Definition at line 52 of file polygon.h.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1