OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::anonymous_namespace{SketchSolver.cpp}::Build Struct Reference
Collaboration diagram for Slic3r::anonymous_namespace{SketchSolver.cpp}::Build:

Public Member Functions

Slvs_hParam P (Slvs_hGroup g, double v)
Slvs_hEntity E (Slvs_Entity e)
Slvs_hEntity pt2d (Slvs_hGroup g, double u, double v)
void C (int type, double val, Slvs_hEntity ptA, Slvs_hEntity ptB, Slvs_hEntity eA, Slvs_hEntity eB, Slvs_hEntity eC=0, int other=0, int other2=0)

Public Attributes

std::vector< Slvs_Param > params
std::vector< Slvs_Entity > ents
std::vector< Slvs_Constraint > cons
Slvs_hParam ph {0}
Slvs_hEntity eh {0}
Slvs_hConstraint ch {0}
Slvs_hEntity wp {0}
Slvs_hEntity normal {0}

Detailed Description

Member Function Documentation

◆ C()

void Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::C ( int type,
double val,
Slvs_hEntity ptA,
Slvs_hEntity ptB,
Slvs_hEntity eA,
Slvs_hEntity eB,
Slvs_hEntity eC = 0,
int other = 0,
int other2 = 0 )
inline
54 {
55 Slvs_Constraint c = Slvs_MakeConstraint(++ch, G_SK, type, wp, val, ptA, ptB, eA, eB);
56 c.entityC = eC;
57 c.other = other;
58 c.other2 = other2;
59 cons.push_back(c);
60 }
constexpr Slvs_hGroup G_SK
Definition SketchSolver.cpp:25
Slvs_hEntity wp
Definition SketchSolver.cpp:42
std::vector< Slvs_Constraint > cons
Definition SketchSolver.cpp:38
Slvs_hConstraint ch
Definition SketchSolver.cpp:41

References ch, cons, Slic3r::anonymous_namespace{SketchSolver.cpp}::G_SK, and wp.

◆ E()

Slvs_hEntity Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::E ( Slvs_Entity e)
inline
45{ ents.push_back(e); return e.h; }
std::vector< Slvs_Entity > ents
Definition SketchSolver.cpp:37

References ents.

Referenced by pt2d().

Here is the caller graph for this function:

◆ P()

Slvs_hParam Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::P ( Slvs_hGroup g,
double v )
inline
44{ params.push_back(Slvs_MakeParam(++ph, g, v)); return ph; }
std::vector< Slvs_Param > params
Definition SketchSolver.cpp:36
Slvs_hParam ph
Definition SketchSolver.cpp:39

References params, and ph.

Referenced by pt2d().

Here is the caller graph for this function:

◆ pt2d()

Slvs_hEntity Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::pt2d ( Slvs_hGroup g,
double u,
double v )
inline
47 { return E(Slvs_MakePoint2d(++eh, g, wp, P(g, u), P(g, v))); }
@ P
Definition libslic3r.h:149
@ E
Definition libslic3r.h:144
Slvs_hEntity eh
Definition SketchSolver.cpp:40

References E(), eh, P(), and wp.

Here is the call graph for this function:

Member Data Documentation

◆ ch

Slvs_hConstraint Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::ch {0}
41{0};

Referenced by C().

◆ cons

std::vector<Slvs_Constraint> Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::cons

Referenced by C().

◆ eh

Slvs_hEntity Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::eh {0}
40{0};

Referenced by pt2d().

◆ ents

std::vector<Slvs_Entity> Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::ents

Referenced by E().

◆ normal

Slvs_hEntity Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::normal {0}
42{0}, normal{0};
Slvs_hEntity normal
Definition SketchSolver.cpp:42

◆ params

std::vector<Slvs_Param> Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::params

Referenced by P().

◆ ph

Slvs_hParam Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::ph {0}
39{0};

Referenced by P().

◆ wp

Slvs_hEntity Slic3r::anonymous_namespace{SketchSolver.cpp}::Build::wp {0}
42{0}, normal{0};

Referenced by C(), and pt2d().


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