#include <rtc/rtcVec2.h>
Go to the source code of this file.
Namespaces | |
namespace | rtc |
Functions | |
long | rtc::bevel_1d (const Vec2f &p) |
long | rtc::bevel_2d (const Vec2f &p) |
bool | rtc::bounds_overlap_circle (const Vec2f &b, float r, const Vec2f &bc, float br) |
bool | rtc::circle_within_bounds (const Vec2f &b, float r, const Vec2f &bc, float br) |
bool | rtc::circle_within_bounds (const Vec2f &b, float r, const Vec2f &min, const Vec2f &max) |
bool | rtc::closer_on_line (const Vec2f &x, const Vec2f &a, const Vec2f &b, float &d2, Vec2f &cp) |
float | rtc::dist (const Vec2f &a, const Vec2f &b) |
float | rtc::dist2 (const Vec2f &a, const Vec2f &b) |
void | rtc::dist_to_line (const Vec2f &x, const Vec2f &a, const Vec2f &b, float &d, Vec2f &cp) |
float | rtc::dist_to_line (const Vec2f &x, const Vec2f &a, const Vec2f &b) |
Vec2f | rtc::lerp (float t, const Vec2f &a, const Vec2f &b) |
bool | rtc::line_outside_of_rect (const Vec2f &c, float s, const Vec2f &t1, const Vec2f &t2) |
bool | rtc::line_rect_X (const Vec2f &t1, const Vec2f &t2, const Vec2f &c, float theta, float w, float l) |
bool | rtc::point_on_edge (const Vec2f &p1, const Vec2f &p2, float alpha, long mask) |
bool | rtc::point_outside_of_rect (const Vec2f &c, float s, const Vec2f &p) |
bool | rtc::point_outside_of_rect (const Vec2f &c, float xlen, float ylen, float rot_angle, const Vec2f &p) |
float | rtc::proj_dist_to_line (const Vec2f &x, const Vec2f &a, const Vec2f &b) |
bool | rtc::rect_rect_X (const Vec2f &c1, float theta1, float w1, float l1, const Vec2f &c2, float theta2, float w2, float l2) |
template<class T > | |
void | rtc::rtc_bary (const Vec2< T > &p, const Vec2< T > &t1, const Vec2< T > &t2, const Vec2< T > &t3, T &b1, T &b2, T &b3) |
template<class T > | |
T | rtc::rtc_distance_point_to_line (const Vec2< T > &x, const Vec2< T > &a, const Vec2< T > &b) |
template<class T > | |
T | rtc::rtc_distance_point_to_line_projected (const Vec2< T > &x, const Vec2< T > &a, const Vec2< T > &b) |
template<class T > | |
T | rtc::rtc_distance_point_to_point (const Vec2< T > &a, const Vec2< T > &b) |
template<class T > | |
bool | rtc::rtc_point_inside_triangle (const Vec2< T > &p, const Vec2< T > &t1, const Vec2< T > &t2, const Vec2< T > &t3) |
template<class T > | |
T | rtc::rtc_triangle_area (const Vec2< T > &t1, const Vec2< T > &t2, const Vec2< T > &t3) |
template<class T > | |
T | rtc::rtc_triangle_area_signed (const Vec2< T > &t1, const Vec2< T > &t2, const Vec2< T > &t3) |
bool | rtc::segment_on_edge (const Vec2f &p1, const Vec2f &p2, long outcode_diff) |