libslic3r
Library for generating gcode from 3d models
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Slic3r::MultiPoint Class Referenceabstract

#include <MultiPoint.hpp>

Inheritance diagram for Slic3r::MultiPoint:
Slic3r::Polygon Slic3r::Polyline Slic3r::ThickPolyline

Public Member Functions

 operator Points () const
 
void scale (double factor)
 
void translate (double x, double y)
 
void translate (const Point &vector)
 
void rotate (double angle)
 
void rotate (double angle, const Point &center)
 
void reverse ()
 
Point first_point () const
 
virtual Point last_point () const =0
 
virtual Lines lines () const =0
 
double length () const
 
bool is_valid () const
 
int find_point (const Point &point) const
 
bool has_boundary_point (const Point &point) const
 
BoundingBox bounding_box () const
 
bool has_duplicate_points () const
 
bool remove_duplicate_points ()
 
void append (const Point &point)
 
void append (const Points &points)
 
void append (const Points::const_iterator &begin, const Points::const_iterator &end)
 
bool intersection (const Line &line, Point *intersection) const
 
std::string dump_perl () const
 

Static Public Member Functions

static Points _douglas_peucker (const Points &points, const double tolerance)
 

Public Attributes

Points points
 

Protected Member Functions

 MultiPoint ()
 
 MultiPoint (const Points &_points)
 
 ~MultiPoint ()=default
 

Constructor & Destructor Documentation

◆ MultiPoint() [1/2]

Slic3r::MultiPoint::MultiPoint ( )
inlineprotected

◆ MultiPoint() [2/2]

Slic3r::MultiPoint::MultiPoint ( const Points _points)
inlineexplicitprotected

◆ ~MultiPoint()

Slic3r::MultiPoint::~MultiPoint ( )
protecteddefault

Member Function Documentation

◆ _douglas_peucker()

Points Slic3r::MultiPoint::_douglas_peucker ( const Points points,
const double  tolerance 
)
static

◆ append() [1/3]

void Slic3r::MultiPoint::append ( const Point point)

◆ append() [2/3]

void Slic3r::MultiPoint::append ( const Points points)

◆ append() [3/3]

void Slic3r::MultiPoint::append ( const Points::const_iterator &  begin,
const Points::const_iterator &  end 
)

◆ bounding_box()

BoundingBox Slic3r::MultiPoint::bounding_box ( ) const

◆ dump_perl()

std::string Slic3r::MultiPoint::dump_perl ( ) const

◆ find_point()

int Slic3r::MultiPoint::find_point ( const Point point) const

◆ first_point()

Point Slic3r::MultiPoint::first_point ( ) const

◆ has_boundary_point()

bool Slic3r::MultiPoint::has_boundary_point ( const Point point) const

◆ has_duplicate_points()

bool Slic3r::MultiPoint::has_duplicate_points ( ) const

◆ intersection()

bool Slic3r::MultiPoint::intersection ( const Line line,
Point intersection 
) const

◆ is_valid()

bool Slic3r::MultiPoint::is_valid ( ) const
inline

◆ last_point()

virtual Point Slic3r::MultiPoint::last_point ( ) const
pure virtual

Implemented in Slic3r::Polygon, and Slic3r::Polyline.

◆ length()

double Slic3r::MultiPoint::length ( ) const

◆ lines()

virtual Lines Slic3r::MultiPoint::lines ( ) const
pure virtual

Implemented in Slic3r::Polygon, and Slic3r::Polyline.

◆ operator Points()

Slic3r::MultiPoint::operator Points ( ) const

◆ remove_duplicate_points()

bool Slic3r::MultiPoint::remove_duplicate_points ( )

◆ reverse()

void Slic3r::MultiPoint::reverse ( )

◆ rotate() [1/2]

void Slic3r::MultiPoint::rotate ( double  angle)

◆ rotate() [2/2]

void Slic3r::MultiPoint::rotate ( double  angle,
const Point center 
)

◆ scale()

void Slic3r::MultiPoint::scale ( double  factor)

◆ translate() [1/2]

void Slic3r::MultiPoint::translate ( double  x,
double  y 
)

◆ translate() [2/2]

void Slic3r::MultiPoint::translate ( const Point vector)

Member Data Documentation

◆ points

Points Slic3r::MultiPoint::points

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