X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Lin2d.h;h=6619c4ff72b552680780ff009fc36636bad4215d;hb=b5893b0a30fac08134c24de4565cb513a43affa6;hp=7aef4793773b048eb126e8bc9ab98cd2d163073b;hpb=4507796772cdf8f63bc0bdb452b5013094fe7036;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Lin2d.h b/src/GeomAPI/GeomAPI_Lin2d.h index 7aef47937..6619c4ff7 100644 --- a/src/GeomAPI/GeomAPI_Lin2d.h +++ b/src/GeomAPI/GeomAPI_Lin2d.h @@ -22,11 +22,11 @@ class GeomAPI_Lin2d : public GeomAPI_Interface { public: /// Creation of line defined by cordinates of start and end points - GEOMAPI_EXPORT + GEOMAPI_EXPORT GeomAPI_Lin2d(const double theStartX, const double theStartY, const double theEndX, const double theEndY); /// Creation of line defined by start and end points - GEOMAPI_EXPORT + GEOMAPI_EXPORT GeomAPI_Lin2d(const std::shared_ptr& theStart, const std::shared_ptr& theEnd); /// Creation of line defined by origin and direction @@ -35,30 +35,31 @@ class GeomAPI_Lin2d : public GeomAPI_Interface const std::shared_ptr& theDirection); /// Returns point on the line (first point) - GEOMAPI_EXPORT + GEOMAPI_EXPORT std::shared_ptr location(); /// Returns a line direction - GEOMAPI_EXPORT + GEOMAPI_EXPORT std::shared_ptr direction(); /// Distance between two points - GEOMAPI_EXPORT + GEOMAPI_EXPORT double distance(const std::shared_ptr& theOther) const; /// Intersection of two lines - GEOMAPI_EXPORT + GEOMAPI_EXPORT const std::shared_ptr intersect( const std::shared_ptr& theLine) const; /// Project point on line - GEOMAPI_EXPORT + GEOMAPI_EXPORT const std::shared_ptr project( const std::shared_ptr& thePoint) const; - /// Computes the cross product of the line direction and a vector from the line start point to the point - GEOMAPI_EXPORT + /// Computes the cross product of the line direction and a vector + /// from the line start point to the point + GEOMAPI_EXPORT bool isRight(const std::shared_ptr& thePoint) const; /// Returns a location point shifted on theShift in perpendicular direction - GEOMAPI_EXPORT + GEOMAPI_EXPORT std::shared_ptr shiftedLocation(double theShift) const; };