29 #include "PointSequence.h" 30 #include "SerializationFwd.h" 35 #ifndef DOXYGEN_SHOULD_SKIP_THIS 85 template<
typename Iterator>
101 bool hasPrevPoint(std::size_t i)
const;
111 Vector2f getPrevPoint(std::size_t i)
const;
122 Vector2f getPrevExtensionPoint()
const;
132 bool hasNextPoint(std::size_t i)
const;
142 Vector2f getNextPoint(std::size_t i)
const;
154 Vector2f getNextExtensionPoint()
const;
182 return m_type == Loop;
193 return m_type == Chain;
212 #ifndef DOXYGEN_SHOULD_SKIP_THIS 217 #endif // GF_POLYLINE_H void setType(Type type)
Set the type of the polyline.
Definition: Polyline.h:161
A deserializer from a binary file.
Definition: Serialization.h:151
The polyline is open.
Definition: Polyline.h:52
Type getType() const
Get the type of the polyline.
Definition: Polyline.h:170
Polyline(Iterator first, Iterator last, Type type=Chain)
Constructor from points.
Definition: Polyline.h:86
A polyline.
Definition: Polyline.h:46
A span.
Definition: Span.h:36
Polyline(Span< const Vector2f > points, Type type=Chain)
Constructor from an array.
Definition: Polyline.h:72
bool isLoop() const
Check is the polyline is a loop.
Definition: Polyline.h:181
bool isChain() const
Check is the polyline is a chain.
Definition: Polyline.h:192
Polyline(Type type=Chain)
Default constructor.
Definition: Polyline.h:61
A serializer to a binary file.
Definition: Serialization.h:43
The namespace for gf classes.
Definition: Action.h:35
Type
The type of polyline.
Definition: Polyline.h:51
General purpose math vector.
Definition: Vector.h:61
The polyline is closed.
Definition: Polyline.h:53
A sequence of points.
Definition: PointSequence.h:44