libslic3r
Library for generating gcode from 3d models
Public Member Functions | Public Attributes | List of all members
Slic3r::IntersectionPoint Class Reference

#include <TriangleMesh.hpp>

Inheritance diagram for Slic3r::IntersectionPoint:
Slic3r::Point

Public Member Functions

 IntersectionPoint ()
 
- Public Member Functions inherited from Slic3r::Point
constexpr Point (coord_t _x=0, coord_t _y=0)
 
constexpr Point (int _x, int _y)
 
constexpr Point (long long _x, long long _y)
 
 Point (double x, double y)
 
bool operator== (const Point &rhs) const
 
bool operator!= (const Point &rhs) const
 
std::string wkt () const
 
std::string dump_perl () const
 
void scale (double factor)
 
void translate (double x, double y)
 
void translate (const Vector &vector)
 
void rotate (double angle)
 
void rotate (double angle, const Point &center)
 
Point rotated (double angle) const
 
Point rotated (double angle, const Point &center) const
 
bool coincides_with (const Point &point) const
 
bool coincides_with_epsilon (const Point &point) const
 
int nearest_point_index (const Points &points) const
 
int nearest_point_index (const PointConstPtrs &points) const
 
int nearest_point_index (const PointPtrs &points) const
 
size_t nearest_waypoint_index (const Points &points, const Point &point) const
 
bool nearest_point (const Points &points, Point *point) const
 
bool nearest_waypoint (const Points &points, const Point &dest, Point *point) const
 
double distance_to (const Point &point) const
 
double distance_to (const Line &line) const
 
double perp_distance_to (const Line &line) const
 
double ccw (const Point &p1, const Point &p2) const
 
double ccw (const Line &line) const
 
double ccw_angle (const Point &p1, const Point &p2) const
 
Point projection_onto (const MultiPoint &poly) const
 
Point projection_onto (const Line &line) const
 
Point negative () const
 
Vector vector_to (const Point &point) const
 
void align_to_grid (const Point &spacing, const Point &base=Point(0, 0))
 

Public Attributes

int point_id
 
int edge_id
 
- Public Attributes inherited from Slic3r::Point
coord_t x
 
coord_t y
 

Additional Inherited Members

- Static Public Member Functions inherited from Slic3r::Point
static constexpr Point new_scale (coordf_t x, coordf_t y)
 
static Point new_scale (Pointf p)
 Scale and create a Point from a Pointf. More...
 

Constructor & Destructor Documentation

◆ IntersectionPoint()

Slic3r::IntersectionPoint::IntersectionPoint ( )
inline

Member Data Documentation

◆ edge_id

int Slic3r::IntersectionPoint::edge_id

◆ point_id

int Slic3r::IntersectionPoint::point_id

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