gwnavruntime/queries/blobs/navhalfedgeblob.h Source File
Go to the documentation of this file.
31 : m_halfEdgeIdx(CompactNavHalfEdgeIdx_MAXVAL)
35 ValidityStatus GetValidityStatus()
const {
return (ValidityStatus)m_status; }
40 CompactNavHalfEdgeIdx m_halfEdgeIdx;
46 SwapEndianness(e,
self.m_startPos3f);
47 SwapEndianness(e,
self.m_endPos3f);
48 SwapEndianness(e,
self.m_cellPos);
49 SwapEndianness(e,
self.m_halfEdgeIdx);
50 SwapEndianness(e,
self.m_status);
54 class NavHalfEdgeBlobBuilder :
public BaseBlobBuilder<NavHalfEdgeBlob>
57 NavHalfEdgeBlobBuilder(
const NavHalfEdgePtr& halfEdgePtr) : m_halfEdgePtr(halfEdgePtr) {}
63 if (m_halfEdgePtr.IsValid() ==
false)
69 m_blob->m_halfEdgeIdx = (CompactNavHalfEdgeIdx)m_halfEdgePtr.GetHalfEdgeIdx();
70 m_blob->m_cellPos = m_halfEdgePtr.GetCellPos();
72 m_halfEdgePtr.GetVerticesPos3f(
m_blob->m_startPos3f,
m_blob->m_endPos3f);
76 NavHalfEdgePtr m_halfEdgePtr;
Vec2i CellPos
A type that represents the position of a cell within a 2D grid.
Definition: navmeshtypes.h:30
std::uint16_t KyUInt16
uint16_t
Definition: types.h:28
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:27
NavHalfEdgeBlob * m_blob
The blob maintained by this builder. Only modify using the macros listed under DoBuild().
Definition: baseblobbuilder.h:113
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
bool IsWriteMode()
Indicates whether the builder is operating in COUNT mode or in WRITE mode.
Definition: baseblobbuilder.h:43