8 #ifndef Navigation_CircleArcSpline_H
9 #define Navigation_CircleArcSpline_H
23 CutSplineAtArcInnerPosition
68 const Vec3f& newStartPosition,
KyUInt32 newStartArcIndex, SplineCutMode startCutMode,
KyUInt32 newStartSectionIdx,
69 const Vec3f& newEndPosition,
KyUInt32 newEndArcIndex, SplineCutMode endCutMode,
KyUInt32 newEndSectionIdx);
85 KY_INLINE
void CircleArcSpline::Clear() { m_sections.Clear(); };
86 KY_INLINE
void CircleArcSpline::Reset(
const KyArray<CircleArcSplineSection>& sections) { m_sections = sections; }
88 KY_INLINE
bool CircleArcSpline::IsEmpty()
const {
return m_sections.IsEmpty(); }
89 KY_INLINE
KyUInt32 CircleArcSpline::GetSectionCount()
const {
return m_sections.GetCount(); }
100 #endif // Navigation_CircleArcSpline_H
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
const CircleArcSplineSection & GetSection(KyUInt32 index) const
Definition: circlearcspline.h:98
Vec2f ComputeEndTangent() const
Definition: circlearcspline.h:104
Vec2f ComputeStartTangent() const
Definition: circlearcspline.h:103
KyUInt32 GetLastSectionIndex() const
Definition: circlearcspline.h:101
General purpose array for movable objects that require explicit construction/destruction.
Definition: kyarray.h:118
const Vec3f & GetEndPosition() const
Definition: circlearcspline.h:100
The class representing a spline compounded of oriented circle arcs and straight line segments...
Definition: circlearcspline.h:29
This class defines a two-dimensional vector whose coordinates are stored using floating-point numbers...
Definition: vec2f.h:24
Definition: gamekitcrowddispersion.h:20
const Vec3f & GetStartPosition() const
Definition: circlearcspline.h:99
ScopedDisplayList is used to push text, lines or shapes for rendering in the NavigationLab e...
Definition: displaylist.h:136
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
Class representing either an oriented circle arc or a straight line segment, to be aggregated into a ...
Definition: circlearcsplinesection.h:25
const CircleArcSplineSection & GetLastSection() const
Definition: circlearcspline.h:102
This class defines a three-dimensional vector whose coordinates are stored using floating-point numbe...
Definition: vec3f.h:23