geolib2
Classes | Namespaces | Typedefs | Functions
Shape.cpp File Reference
#include "geolib/Shape.h"
#include "geolib/Box.h"
#include <geolib/serialization.h>
#include <console_bridge/console.h>
#include <cmath>
#include <stdexcept>
Include dependency graph for Shape.cpp:

Go to the source code of this file.

Classes

class  geo::LineSegment
 

Namespaces

 geo
 

Typedefs

typedef geo::LineSegment geo::LS
 

Functions

bool geo::check_linesegment (const Vector3 &p, const double radius2, const Vector3 &a, const Vector3 &ab)
 Check whether a point p is within distance radius of the line segment. The starting point is described by a and the vector from the starting point to the end point ab. More...
 
bool geo::compute_2D_intersection (const geo::Triangle &t, const geo::LS &line)
 Check if a line that is in the same plane as the triangle does actually intersect with the triangle https://members.loria.fr/SLazard/ARC-Visi3D/Pant-project/files/Line_Segment_Triangle.html. More...
 
bool geo::line_linesegment_intersection (const geo::LS &l, const geo::LS &ls, const geo::Vector3 &outside)
 Check if linesegment does intersect with line https://members.loria.fr/SLazard/ARC-Visi3D/Pant-project/files/Line_Segment_Triangle.html. More...
 
double geo::side_product (const geo::LS &p, const geo::LS &q)
 Determining the direction in which q passes around p. The direction is taken from looking from the base to tip of the vector p. Zero means intersection Positive means q passses clockwise around p. Negative means q passes counter clockwise around p. https://members.loria.fr/SLazard/ARC-Visi3D/Pant-project/files/Line_Segment_Triangle.html. More...