Class Triangle2D¶
Defined in File Triangle2D.hxx
Class Documentation¶
-
class G2lib::Triangle2D¶
-
Class to manage Triangle for BB of clothoid curve
Public Functions
-
inline Triangle2D(Triangle2D const &t)¶
-
inline Triangle2D()¶
-
inline Triangle2D(real_type x1, real_type y1, real_type x2, real_type y2, real_type x3, real_type y3, real_type s0, real_type s1, int_type icurve)¶
-
inline Triangle2D(real_type const p1[2], real_type const p2[2], real_type const p3[2], real_type s0, real_type s1, int_type icurve)¶
-
inline ~Triangle2D()¶
-
inline Triangle2D const &operator=(Triangle2D const &t)¶
-
inline void build(real_type const p1[2], real_type const p2[2], real_type const p3[2], real_type s0, real_type s1, int_type icurve)¶
-
inline void build(real_type x1, real_type y1, real_type x2, real_type y2, real_type x3, real_type y3, real_type s0, real_type s1, int_type icurve)¶
-
bool overlap(Triangle2D const&) const¶
-
inline int_type isCounterClockwise() const¶
-
return +1 = CounterClockwise return -1 = Clockwise return 0 = degenerate triangle
-
inline int_type isInside(real_type x, real_type y) const¶
-
return +1 = inside return -1 = outside return 0 = on the border
-
inline void info(ostream_type &stream) const¶
Friends
-
friend ostream_type &operator<<(ostream_type &stream, Triangle2D const &c)¶
-
inline Triangle2D(Triangle2D const &t)¶