/// Returns list of intersection points if the edge has intersections with the given plane
/// \param thePlane a plane for intersection
GEOMAPI_EXPORT
- void intersectWithPlane(const std::shared_ptr<GeomAPI_Pln> thePlane, std::list<std::shared_ptr<GeomAPI_Pnt> >& theResult) const;
+ void intersectWithPlane(const std::shared_ptr<GeomAPI_Pln> thePlane,
+ std::list<std::shared_ptr<GeomAPI_Pnt> >& theResult) const;
/// Returns edge length.
GEOMAPI_EXPORT
GEOMAPI_EXPORT
void setLastPointTolerance(const double theTolerance);
+
+ /// Return middle point on the edge
+ GEOMAPI_EXPORT
+ virtual std::shared_ptr<GeomAPI_Pnt> middlePoint() const;
};
//! Pointer on attribute object