Namespaces | Defines | Functions
rtcGeometry2D.cpp File Reference
#include <cassert>
#include "rtc/rtcGeometry2D.h"
#include <rtc/rtcRotation2D.h>
Include dependency graph for rtcGeometry2D.cpp:

Go to the source code of this file.

Namespaces

namespace  rtc

Defines

#define INSIDE   false
#define OUTSIDE   true

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)
bool rtc::segment_on_edge (const Vec2f &p1, const Vec2f &p2, long outcode_diff)

Define Documentation

#define INSIDE   false

Definition at line 29 of file rtcGeometry2D.cpp.

#define OUTSIDE   true

Definition at line 30 of file rtcGeometry2D.cpp.



rtc
Author(s): Benjamin Pitzer
autogenerated on Mon Oct 6 2014 10:07:35