]> OCCT Git - occt.git/commitdiff
Documentation - Enhance comments in StlAPI_Reader.hxx #180
authordkulikov <dkulikov@opencascade.com>
Thu, 5 Dec 2024 14:59:16 +0000 (14:59 +0000)
committerdpasukhi <dpasukhi@opencascade.com>
Thu, 5 Dec 2024 15:03:10 +0000 (15:03 +0000)
Update comments to clarify STL file reading inefficiencies

src/StlAPI/StlAPI_Reader.hxx

index 4e0b2005ce9b141e9ab050fdd7a95915a3dcb37e..09eb4dacf78950d0c88a5096bb0e19fbba020714 100644 (file)
@@ -21,6 +21,9 @@
 class TopoDS_Shape;
 
 //! Reading from stereolithography format.
+//! Reads STL file and creates a shape composed of triangular faces, one per facet.
+//! IMPORTANT: This approach is very inefficient, especially for large files.
+//! IMPORTANT: Consider reading STL file to Poly_Triangulation object instead (see class RWStl).
 class StlAPI_Reader
 {
 public: