PlyFormat.Decode
محتويات
[
يخفي
]Decode(string)
فك تشفير سحابة نقطية أو شبكة من الدفق المحدد.
public Geometry Decode(string fileName)
| معامل | النوع | الوصف |
|---|---|---|
| fileName | سلسلة | دفق الإدخال |
قيمة الإرجاع
مثال Mesh أو PointCloud
أمثلة
الكود التالي يوضح كيفية فك تشفير شبكة من ملف PLY:
//إنشاء ملف اختبار للفك
FileFormat.PLY.Encode(new Sphere(), "sphere.ply");
//فك تشفير الملف
var mesh = (Mesh)FileFormat.PLY.Decode("sphere.ply")
انظر أيضًا
- class Geometry
- class PlyFormat
- namespace Aspose.ThreeD.Formats
- assembly Aspose.3D
Decode(string, PlyLoadOptions)
فك تشفير سحابة نقطية أو شبكة من الدفق المحدد.
public Geometry Decode(string fileName, PlyLoadOptions opt)
| معامل | النوع | الوصف |
|---|---|---|
| fileName | سلسلة | دفق الإدخال |
| opt | PlyLoadOptions | خيار التحميل لتنسيق PLY |
قيمة الإرجاع
مثال Mesh أو PointCloud
أمثلة
الكود التالي يوضح كيفية فك تشفير شبكة من ملف PLY:
//إنشاء ملف اختبار للفك
FileFormat.PLY.Encode(new Sphere(), "sphere.ply");
//فك تشفير الملف
var mesh = (Mesh)FileFormat.PLY.Decode("sphere.ply")
انظر أيضًا
- class Geometry
- class PlyLoadOptions
- class PlyFormat
- namespace Aspose.ThreeD.Formats
- assembly Aspose.3D
Decode(Stream)
فك تشفير سحابة نقطية أو شبكة من الدفق المحدد.
public Geometry Decode(Stream stream)
| معامل | النوع | الوصف |
|---|---|---|
| stream | Stream | دفق الإدخال |
قيمة الإرجاع
مثال Mesh أو PointCloud
أمثلة
الكود التالي يوضح كيفية فك تشفير شبكة من ملف PLY:
//إنشاء ملف اختبار للفك
FileFormat.PLY.Encode(new Sphere(), "sphere.ply");
//فك تشفير الملف
var mesh = (Mesh)FileFormat.PLY.Decode("sphere.ply")
انظر أيضًا
- class Geometry
- class PlyFormat
- namespace Aspose.ThreeD.Formats
- assembly Aspose.3D
Decode(Stream, PlyLoadOptions)
فك تشفير سحابة نقطية أو شبكة من الدفق المحدد.
public Geometry Decode(Stream stream, PlyLoadOptions opt)
| معامل | النوع | الوصف |
|---|---|---|
| stream | Stream | دفق الإدخال |
| opt | PlyLoadOptions | خيار التحميل لتنسيق PLY |
قيمة الإرجاع
مثال Mesh أو PointCloud
أمثلة
الكود التالي يوضح كيفية فك تشفير شبكة من ملف PLY:
//إنشاء ملف اختبار للفك
FileFormat.PLY.Encode(new Sphere(), "sphere.ply");
//فك تشفير الملف
var mesh = (Mesh)FileFormat.PLY.Decode("sphere.ply")
انظر أيضًا
- class Geometry
- class PlyLoadOptions
- class PlyFormat
- namespace Aspose.ThreeD.Formats
- assembly Aspose.3D