TM2IN  0.5.1
Functions | Variables
TM2IN::cgal Namespace Reference

Functions

double triangle_area (Vertex *va, Vertex *vb, Vertex *vc)
 Returns the area of triangle. More...
 
double triangle_area (Point_3 &p1, Point_3 &p2, Point_3 &p3)
 Returns the area of triangle. More...
 
Vector_3 triangle_normal (TM2IN::Vertex *va, TM2IN::Vertex *vb, TM2IN::Vertex *vc)
 Returns normal vector of triangle. More...
 
double getAngle (Vector_3 &v1, Vector_3 &v2)
 Returns the angle between v1 and v2. More...
 
bool has_lower_angle_than (Vector_3 &nv1, Vector_3 &nv2, double angle)
 Checks the angle between v1 and v2 is lower than the angle. More...
 
int findNormalType6 (Vector_3 &nv)
 Finds the closest simple normal from nvSimple normal : simple_normal_vector_list6. More...
 

Variables

Vector_3 simple_normal_vector_list6 [6]
 

Variable Documentation

Vector_3 TM2IN::cgal::simple_normal_vector_list6
Initial value:
= {
Vector_3(1,0,0),
Vector_3(0,1,0),
Vector_3(0,0,1),
Vector_3(-1,0,0),
Vector_3(0,-1,0),
Vector_3(0,0,-1)
}
Kernel::Vector_3 Vector_3
Definition: cgal_config.h:42