Subversion Repositories gelsvn

Rev

Rev 595 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 595 Rev 609
Line 84... Line 84...
84
 
84
 
85
			/** Return number of triangles generated after the polygonization.
85
			/** Return number of triangles generated after the polygonization.
86
					Call this function only when march has been called. */
86
					Call this function only when march has been called. */
87
			int no_triangles() const
87
			int no_triangles() const
88
				{
88
				{
89
					return gtriangles.size();
89
					return int(gtriangles.size());
90
				}
90
				}
91
 
91
 
92
			/** Ret urn number of vertices generated after the polygonization.
92
			/** Ret urn number of vertices generated after the polygonization.
93
					Call this function only when march has been called. */
93
					Call this function only when march has been called. */
94
			int no_vertices() const
94
			int no_vertices() const
95
				{
95
				{
96
					return gvertices.size();
96
					return int(gvertices.size());
97
				}
97
				}
98
	
98
	
99
			/** Return number of normals generated after the polygonization.
99
			/** Return number of normals generated after the polygonization.
100
					Of course the result of calling this function is the same as
100
					Of course the result of calling this function is the same as
101
					no_vertices.
101
					no_vertices.
102
					Call this function only when march has been called. */
102
					Call this function only when march has been called. */
103
			int no_normals() const
103
			int no_normals() const
104
				{
104
				{
105
					return gnormals.size();
105
					return int(gnormals.size());
106
				}
106
				}
107
	
107
	
108
			/// Return triangle with index i. 
108
			/// Return triangle with index i. 
109
				TRIANGLE& get_triangle(int i)   
109
				TRIANGLE& get_triangle(int i)   
110
					{
110
					{