Triangles - Double. More...

#include <triangle_math.h>

+ Inheritance diagram for clan::Triangled:

Public Member Functions

 Triangled ()
 
 Triangled (const Trianglex< double > &copy)
 
 Triangled (const Vec2< double > &point_p, const Vec2< double > &point_q, const Vec2< double > &point_r)
 
Attributes
bool point_inside (const Vec2< double > &point) const
 Return true if the point is inside the triangle. More...
 
Operators
bool operator== (const Trianglex< double > &triangle) const
 == operator. More...
 
bool operator!= (const Trianglex< double > &triangle) const
 != operator. More...
 

Public Attributes

Vec2< double > p
 First triangle point. More...
 
Vec2< double > q
 
Vec2< double > r
 

Detailed Description

Triangles - Double.

Member Function Documentation

bool clan::Trianglex< double >::operator!= ( const Trianglex< double > &  triangle) const
inlineinherited

!= operator.

bool clan::Trianglex< double >::operator== ( const Trianglex< double > &  triangle) const
inlineinherited

== operator.

bool clan::Trianglex< double >::point_inside ( const Vec2< double > &  point) const
inherited

Return true if the point is inside the triangle.

Parameters
point= point to test.
Returns
true if the point is inside the triangle

Member Data Documentation

Vec2<double > clan::Trianglex< double >::p
inherited

First triangle point.

Vec2<double > clan::Trianglex< double >::q
inherited
Vec2<double > clan::Trianglex< double >::r
inherited

The documentation for this class was generated from the following file: