20 #ifndef KJB_CPP_G_UTIL
21 #define KJB_CPP_G_UTIL
76 Vector(u.begin(), u.end()),
77 Vector(v.begin(), v.end())));
Definition: gr_opengl.h:41
Definition for the Matrix class, a thin wrapper on the KJB Matrix struct and its related functionalit...
theta
Definition: APPgetLargeConnectedEdges.m:108
height
Definition: APPgetLargeConnectedEdges.m:33
This class implements vectors, in the linear-algebra sense, with real-valued elements.
Definition: m_vector.h:87
Vector euclidean_to_projective_2d(const Vector &v)
Converts coordinates in (2D) euclidean space to coordinates in (2D) projective space.
Definition: g_util.cpp:135
Vector projective_to_euclidean_2d(const Vector &v)
Converts coordinates in (2D) projective space to coordinates in (2D) euclidean space.
Definition: g_util.cpp:109
REAL * point
Definition: triangle.c:537
Vector euclidean_to_projective(const Vector &v)
Converts coordinates in euclidean space to coordinates in projective space.
Definition: g_util.cpp:122
int poly
Definition: triangle.c:716
Definition: g_quaternion.h:37
bool is_point_in_polygon_new(Matrix poly, Vector point)
Definition: g_util.cpp:150
This class implements matrices, in the linear-algebra sense, with real-valued elements.
Definition: m_matrix.h:94
Matrix get_rotation_matrix(double theta)
Creates a (2D) rotation matrix from the given angle.
Definition: g_util.cpp:41
Vector projective_to_euclidean(const Vector &v)
Converts coordinates in projective space to coordinates in euclidean space.
Definition: g_util.cpp:96
Matrix get_translation_matrix(const Vector &v)
Creates a translation matrix from the given vector.
Definition: g_util.cpp:29
Matrix polygon_to_mask(Matrix poly, int height, int width)
Definition: g_util.cpp:245
Definition for the Vector class, a thin wrapper on the KJB Vector struct and its related functionalit...