HDK
|
#include <GEO_HedgeInterface.h>
Public Types | |
using | Point = GA_Offset |
using | Poly = GA_Offset |
using | Vertex = GA_Offset |
using | Hedge = GEO_Hedge |
using | SHedge = GEO_SHedge |
Definition at line 24 of file GEO_HedgeInterface.h.
using GEO_ConstHedgeInterface< DERIVED >::Hedge = GEO_Hedge |
Definition at line 30 of file GEO_HedgeInterface.h.
using GEO_ConstHedgeInterface< DERIVED >::Point = GA_Offset |
Definition at line 27 of file GEO_HedgeInterface.h.
using GEO_ConstHedgeInterface< DERIVED >::Poly = GA_Offset |
Definition at line 28 of file GEO_HedgeInterface.h.
using GEO_ConstHedgeInterface< DERIVED >::SHedge = GEO_SHedge |
Definition at line 31 of file GEO_HedgeInterface.h.
using GEO_ConstHedgeInterface< DERIVED >::Vertex = GA_Offset |
Definition at line 29 of file GEO_HedgeInterface.h.
|
virtualdefault |
|
inline |
Returns true if e1 and e2 are equivalent hedges.
Definition at line 341 of file GEO_HedgeInterface.h.
|
inline |
Returns true if e1 and e2 are equivalent signed hedges.
Definition at line 345 of file GEO_HedgeInterface.h.
|
inline |
Returns true if e1 and e2 are equivalent hedges with opposite orientation.
Definition at line 334 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 337 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 36 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 207 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 232 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 220 of file GEO_HedgeInterface.h.
|
inline |
Returns the point to which the dst vertex is wired.
Definition at line 135 of file GEO_HedgeInterface.h.
|
inline |
Returns the src vertex of a signed hedge.
Definition at line 384 of file GEO_HedgeInterface.h.
|
inline |
Returns the positions of the destination point of e.
Definition at line 282 of file GEO_HedgeInterface.h.
|
inline |
Returns the primitives angle at dst of the hedge. NB. If the angle in question is reflex, then its 2*pi complement is returned unless the normal of the primitive that contains e is passed using the optional nml parameter.
Definition at line 293 of file GEO_HedgeInterface.h.
|
inline |
Returns the primitives angle at dst of the hedge.
Definition at line 306 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 55 of file GEO_HedgeInterface.h.
|
inline |
Returns the destination vertex of a signed hedge.
Definition at line 373 of file GEO_HedgeInterface.h.
|
inline |
Find a hedge with the given endpoints or return GEO_INVLAID_HEDGE.
Definition at line 269 of file GEO_HedgeInterface.h.
|
inline |
Similar to first/nextIncidentHedge but stops over only one of the hedges (the primary) in each equivalence class of hedges incident to the point.
Definition at line 163 of file GEO_HedgeInterface.h.
|
inline |
Returns a first incidentHedge to a point. Together with nextIncidentHedge, one can enumerate circularly over all hedges incident to a point.
Definition at line 153 of file GEO_HedgeInterface.h.
|
inline |
Similar to first/nextIncidentHedge but using only incoming hedges. Note that nextOutgoingHedge does not need the parameter pt anymore.
Definition at line 179 of file GEO_HedgeInterface.h.
|
inline |
A "manifold scan" around a point moves from one incoming (resp outgoing hedge incident to a point to the next in counterclockwise order as long as the hedge in question is a manifold hedge (i.e. it is equivalent to exactly one other hedge oriented oppositely). Returns the first hedge with the same dst as h that is reachable from e through a counterclockwise manifold scan around dst of e. Returns e itself if either: 1) e is already the first such hedge, or 2) the src of e is an interior point of a manifold, ie the counterclockwise scan reaches back at e.
Definition at line 203 of file GEO_HedgeInterface.h.
|
inline |
Similar to firstManifoldIncomingHedge but finds the first hedge with the same src as e in a counterclockwise scan from e.
Definition at line 237 of file GEO_HedgeInterface.h.
|
inline |
Similar to first/nextIncidentHedge but using only outgoing hedges. Note that nextOutgoingHedge does not need the parameter pt anymore.
Definition at line 171 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 92 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 114 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 407 of file GEO_HedgeInterface.h.
|
inline |
Returns the vector defined by the end-points of e.
Definition at line 286 of file GEO_HedgeInterface.h.
|
inline |
Returns true if the hedge e is a boundary hedge, i.e. if its equivalence class is singleton.
Definition at line 323 of file GEO_HedgeInterface.h.
|
inline |
Returns true if the hedge e is a bridge hedge, i.e. if is a manifold hedge and its other equivalent hedge belongs to the same primitive as e does.
Definition at line 329 of file GEO_HedgeInterface.h.
|
inline |
Returns true if the hedge e is a manifold hedge, if accept_bd is false, this means that the equivalence class of e consists of exactly two hedges oriented oppositely. If accept_bd is true, then the equivalence class of e can also consist of a single (boundary) half-edge.
Definition at line 318 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 46 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 43 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 186 of file GEO_HedgeInterface.h.
|
inline |
Returns the length of the hedge e. Note that it requires the endpoints of e to be determiend.
Definition at line 274 of file GEO_HedgeInterface.h.
|
inline |
Returns the next hedge in poly of h.
Definition at line 75 of file GEO_HedgeInterface.h.
|
inline |
Returns the previous hedge in poly of h.
Definition at line 79 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 399 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 166 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 157 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 182 of file GEO_HedgeInterface.h.
|
inline |
Returns the next hedge with the same dst as e in a counterclockwise manifold scan, returns GEO_INVALID_HEDGE if no such hedge exists.
NOTE: This is equivalent to dnext() operation in Quad-Edge terminology, which is also used in GQ.
Definition at line 228 of file GEO_HedgeInterface.h.
|
inline |
Returns the next hedge with the same src as e in a counterclockwise manifold scan, returns GEO_INVALID_HEDGE if no such hedge exists.
NOTE: This is equivalent to onext() operation in Quad-Edge terminology, which is also used in GQ.
Definition at line 261 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 174 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 411 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 423 of file GEO_HedgeInterface.h.
|
inline |
Returns the number of hedges in the equivalence class of e.
Definition at line 349 of file GEO_HedgeInterface.h.
|
inline |
Returns the number if edges incident to a point (equivalent hedges count as 1).
Definition at line 354 of file GEO_HedgeInterface.h.
|
inline |
Returns the number of distinct hedges incident to pt.
Definition at line 358 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 241 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 265 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 253 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 427 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 66 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 108 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 100 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 104 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 96 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 145 of file GEO_HedgeInterface.h.
|
inline |
Returns the vertex after the destination vertex of the hedge in the poly of the hedge.
Definition at line 125 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 140 of file GEO_HedgeInterface.h.
|
inline |
Returns the vertex before the source vertex of the hedge in the poly of the hedge.
Definition at line 120 of file GEO_HedgeInterface.h.
|
inline |
Returns the previous hedge with the same dst as h in a counterclockwise manifold scan, returns GEO_INVALID_HEDGE if no such hedge exists.
NOTE: This is equivalent to dprev() operation in Quad-Edge terminology, which is also used in GQ.
Definition at line 216 of file GEO_HedgeInterface.h.
|
inline |
Returns the previous hedge with the same src as e in a counterclockwise.
NOTE: This is equivalent to oprev() operation in Quad-Edge terminology, which is also used in GQ.
Definition at line 249 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 415 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 419 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 49 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 388 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 403 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 129 of file GEO_HedgeInterface.h.
|
inline |
Returns the src vertex of a signed hedge.
Definition at line 379 of file GEO_HedgeInterface.h.
|
inline |
Returns the positions of the source point of e.
Definition at line 278 of file GEO_HedgeInterface.h.
|
inline |
Returns the primitives angle at src of the hedge NB. If the angle in question is reflex, then its 2*pi complement is returned unless the normal of the primitive that contains e is passed using the optional nml parameter.
Definition at line 301 of file GEO_HedgeInterface.h.
|
inline |
Returns the primitives angle at src of the hedge.
Definition at line 310 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 52 of file GEO_HedgeInterface.h.
|
inline |
Returns the source vertex of a signed hedge.
Definition at line 367 of file GEO_HedgeInterface.h.
|
inline |
Returns the "next" equivalent (sym) hedge to h: Two hedges are equivalent if they have the same set of two points wired to their source and destination (regardless of which). Calling sym() repeatedly cycles through the equivalence class and returns back to the original hedge.
Definition at line 88 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 58 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 70 of file GEO_HedgeInterface.h.
|
inline |
Definition at line 62 of file GEO_HedgeInterface.h.