In file ./include/vob/geom/Fillets2.hxx:
A circular fillet edge span, for a circular node.
Documentation
A circular fillet edge span, for a circular node.
This is simply a circular arc from the connection to the point
where it is tangent to the circular node.
-
Vec fcenter
- Center of the circle of which the arc is taken
-
float frad
- Radius of the arc
-
Vec dirTang
- The direction vector from the center of the node to the point where the two circles are tangent
-
float dtsign
- The sign: calculate cross product of a vector with dirTang, if sign is same as here, then we it is on the same side as the arc
-
float astart
- The start angle of the arc, looking from fcenter
-
float aend
- The end angle of the arc, looking from fcenter
-
void cutEnd(Vec dir)
- For blending, we want to stop the fillet halfway to avoid overdraw and strange shapes while cleaving
-
bool infillet(Vec dir) const
- Whether the given direction vector from the center of the node is inside the fillet.
-
bool overlaps(const CircleCircleFillet &other) const
- Returns true if either of the directions where the circles are tangent is inside the other fillet area.
- Vec fcenter
- Center of the circle of which the arc is taken
- float frad
- Radius of the arc
- Vec dirTang
- The direction vector from the center of the node
to the point where
the two circles are tangent
- float dtsign
- The sign: calculate cross product of a vector with dirTang,
if sign is same as here, then we it is on the same side as the
arc
- float astart
- The start angle of the arc, looking from fcenter
- float aend
- The end angle of the arc, looking from fcenter
- void cutEnd(Vec dir)
- For blending, we want to stop the fillet halfway to avoid
overdraw and strange shapes while cleaving
- bool infillet(Vec dir) const
- Whether the given direction vector from the center of the node is inside
the fillet. This does *not* guarantee that point(dir) will be a success:
this function includes vectors inside the connection to the fillet but point()
naturally does not.
- bool overlaps(const CircleCircleFillet &other) const
- Returns true if either of the directions where the circles
are tangent is inside the other fillet area.
This is not *quite* the same as the trivial definition
of overlapping: it returns false if the tangent points are
past the connections.
Alphabetic index Hierarchy of classes
This page was generated with the help of DOC++.