34 #include "SUAPI-CppWrapper/model/DrawingElement.hpp" 35 #include "SUAPI-CppWrapper/model/TextureWriter.hpp" 36 #include "SUAPI-CppWrapper/model/UVHelper.hpp" 38 #include <SketchUpAPI/model/face.h> 39 #include <SketchUpAPI/model/material.h> 40 #include <SketchUpAPI/model/loop.h> 69 static SUFaceRef create_face(std::vector<Point3D>& outer_points);
70 static SUFaceRef create_face(std::vector<Point3D>& outer_points,
LoopInput& loop_input);
85 static SUFaceRef copy_reference(
const Face& face);
99 Face(std::vector<Point3D>& outer_loop);
100 Face(std::vector<Point3D>& outer_loop,
LoopInput& loop_input);
122 SUFaceRef ref()
const;
127 operator SUFaceRef()
const;
132 operator bool()
const;
177 FacePointClass classify_point(
const Point3D& point);
183 std::vector<Edge> edges();
199 Vector3D get_texture_projection(
const bool frontside)
const;
209 std::vector<Loop> loops()
const;
224 Loop outer_loop()
const;
261 std::vector<Vertex>
vertices()
const;
bool attached() const
Returns true if the entity is attached to another object.
void add_inner_loop(std::vector< Point3D > &points, LoopInput &loop_input)
std::vector< Loop > inner_loops() const
Face & operator=(const Face &other)
std::vector< Vertex > vertices() const