![]() |
Project
|
One straight line segment of a polygon wire, in a surface's parametric (u, v) domain. More...
#include <BoundedSurface.h>
Public Member Functions | |
| Vec2 | direction () const |
| double | lengthSq () const |
| bool | degenerate () const |
| double | distanceSq (const Vec2 &point) const |
| Squared distance from a parametric point to this edge. | |
| Vec2 | closestPoint (const Vec2 &point, double ¶meter) const |
| void | extendBounds (Vec2 &lower, Vec2 &upper) const |
| Accumulate the edge endpoints into a parametric axis-aligned bounding box. | |
Public Attributes | |
| Vec2 | start |
| Vec2 | end |
One straight line segment of a polygon wire, in a surface's parametric (u, v) domain.
Definition at line 337 of file BoundedSurface.h.
|
inline |
Closest point on this edge to point. Returns the projected point and its clamped parameter parameter in [0, 1] (0 at start, 1 at end). Degenerate edges return start.
Definition at line 356 of file BoundedSurface.h.
|
inline |
Definition at line 349 of file BoundedSurface.h.
|
inline |
Definition at line 341 of file BoundedSurface.h.
|
inline |
Squared distance from a parametric point to this edge.
Definition at line 352 of file BoundedSurface.h.
Accumulate the edge endpoints into a parametric axis-aligned bounding box.
Definition at line 373 of file BoundedSurface.h.
|
inline |
Definition at line 343 of file BoundedSurface.h.
| Vec2 o2::cad::surface::SurfaceEdge::end |
Definition at line 339 of file BoundedSurface.h.
| Vec2 o2::cad::surface::SurfaceEdge::start |
Definition at line 338 of file BoundedSurface.h.