// Who When What
// --- ---------- -----------------------------------------------------------
// JLH 05/28/2010 Added this text. :-)
+// JLH 06/02/2010 Moved implementation from header to here WHERE IT BELONGS.
//
#include "rs_constructionline.h"
return c;
}
+/** @return RS2::EntityConstructionLine */
+/*virtual*/ RS2::EntityType RS_ConstructionLine::rtti() const
+{
+ return RS2::EntityConstructionLine;
+}
+
+/**
+ * @todo
+ * @return Start point of the entity.
+ */
+/*virtual*/ Vector RS_ConstructionLine::getStartpoint() const
+{
+ return Vector(false);
+}
+
+/**
+ * @todo
+ * @return End point of the entity.
+ */
+/*virtual*/ Vector RS_ConstructionLine::getEndpoint() const
+{
+ return Vector(false);
+}
+
+/** @return Copy of data that defines the line. */
+RS_ConstructionLineData RS_ConstructionLine::getData() const
+{
+ return data;
+}
+
+/** @return First definition point. */
+Vector RS_ConstructionLine::getPoint1() const
+{
+ return data.point1;
+}
+/** @return Second definition point. */
+Vector RS_ConstructionLine::getPoint2() const
+{
+ return data.point2;
+}
+
void RS_ConstructionLine::calculateBorders()
{
minV = Vector::minimum(data.point1, data.point2);