Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
stl_facet Struct Reference

#include <src/admesh/stl.h>

+ Collaboration diagram for stl_facet:

Public Member Functions

stl_facet rotated (const Eigen::Quaternion< float, Eigen::DontAlign > &rot) const
 

Public Attributes

stl_normal normal
 
stl_vertex vertex [3]
 
char extra [2]
 

Detailed Description

Member Function Documentation

◆ rotated()

stl_facet stl_facet::rotated ( const Eigen::Quaternion< float, Eigen::DontAlign > &  rot) const
inline
53 {
54 stl_facet out;
55 out.normal = rot * this->normal;
56 out.vertex[0] = rot * this->vertex[0];
57 out.vertex[1] = rot * this->vertex[1];
58 out.vertex[2] = rot * this->vertex[2];
59 return out;
60 }
Definition stl.h:48
stl_normal normal
Definition stl.h:49
stl_vertex vertex[3]
Definition stl.h:50

References normal, and vertex.

Member Data Documentation

◆ extra

char stl_facet::extra[2]

◆ normal

◆ vertex


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