Aspose.3D for Java 19.7 tes elease ootes

Ements proو Cمعلقة

Key Sأوماري Category
THREEDNET-449 Roroblem مع قيم التحول في oodes Feature
THREEDNET-526 Add نقطة دعم التصدير سحابة في Google Draco Enhancement
THREEDNET-524 Add نقطة دعم استيراد سحابة في Google Draco Enhancement
THREEDNET-523  دعم سحابة نقطة dd dd بتنسيق PLY Enhancement

Public API و ackأكواردز hangمتوافق مع hangمعلقة

See قائمة أي تغييرات أجريت على الجمهور API مثل إضافة أو إعادة تسميتها أو إزالتها أو إهمال الأعضاء وكذلك أي تغيير متوافق غير متخلف تم إجراؤه على Aspose.3D for Java. If لديك مخاوف حول أي تغيير المدرجة ، يرجى رفع علىAspose.3D دعم المنتدى.

Added فئة جديدة com.aspose.threed. oointCبصوت عال

Tصفته يرث من Aspose.ThreeD. nntities. omeeometry مباشرة وتستخدم لتمثيل مجموعة من النقاط.

Added طرق جديدة فك إلى الفئة com.aspose.threed. racracoFormat

  	/**

     * Decode the point cloud or mesh from specified file name

     * @param fileName The file name contains the drc file

     * @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance depends on the file content

     */

    public Geometry decode(String fileName)

        throws ImportException;

    /**

     * Decode the point cloud or mesh from memory data

     * @param data The raw drc bytes

     * @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance depends on the content

     */

    public Geometry decode(byte[]data)

        throws ImportException;

Sرمز وافرة لفك تشفير شبكة من ملف دراكو مباشرة دون بناء مشهد

 PointCloud pointCloud = (PointCloud)FileFormat.DRACO.decode("pointCloud.drc");

Added طرق جديدة ترميز إلى الفئة com.aspose.threed. racracoFormat

  /**

     * Encode the entity to specified stream

     * @param entity The entity to be encoded

     * @param stream The stream that encoded data will be written to

     * @param options Extra options for encoding the point cloud

     */

    public void encode(Entity entity, Stream stream, DracoSaveOptions options)

        throws IOException;

    /**

     * Encode the entity to specified stream

     * @param entity The entity to be encoded

     * @param stream The stream that encoded data will be written to

     */

    public void encode(Entity entity, Stream stream)

        throws IOException;


    /**

     * Encode the entity to specified file

     * @param entity The entity to be encoded

     * @param fileName The file name to be written

     */

    public void encode(Entity entity, String fileName)

        throws IOException;

    /**

     * Encode the entity to Draco raw data

     * @param entity The entity to be encoded

     * @param options Extra options for encoding the point cloud

     * @return The encoded draco data represented in bytes

     */

    public byte[]encode(Entity entity, DracoSaveOptions options);

    /**

     * Encode the entity to Draco raw data

     * @param entity The entity to be encoded

     * @return The encoded draco data represented in bytes

     */

    public byte[]encode(Entity entity);

Sرمز وافرة لترميز شبكة المجال لملف دراكو مباشرة دون بناء مشهد

 FileFormat.DRACO.encode(new Sphere(), "sphere.drc");

Ptions dded جديد getter/اضع getPointCبصوت عال/setPointCبصوت عال إلى الفئة com.aspose.threed.

 /**

 * Export the scene as point cloud, default value is false.

 */

public boolean getPointCloud();

/**

 * Export the scene as point cloud, default value is false.

 * @param value New value

 */

public void setPointCloud(boolean value);

Sرمز وافرة لترميز شبكة المجال إلى ملف دراكو كسحابة نقطة

 DracoSaveOptions opt = new DracoSaveOptions();

opt.setPointCloud(true);

FileFormat.DRACO.encode(new Sphere(), "sphere.drc", opt);

Added طرق جديدة ترميز إلى الفئة com.aspose.threed. lylyFormat

 /**

 * Encode the entity and save the result into the stream.

 * @param entity The entity to encode

 * @param stream The stream to write to, this method will not close this stream

 * @param opt Save options

 */

public void encode(Entity entity, Stream stream, PlySaveOptions opt)

    throws IOException;

/**

 * Encode the entity and save the result into the stream.

 * @param entity The entity to encode

 * @param stream The stream to write to, this method will not close this stream

 */

public void encode(Entity entity, Stream stream)

    throws IOException;

/**

 * Encode the entity and save the result into an external file.

 * @param entity The entity to encode

 * @param fileName The file to write to

 * @param opt Save options

 */

public void encode(Entity entity, String fileName, PlySaveOptions opt)

    throws IOException;

/**

 * Encode the entity and save the result into an external file.

 * @param entity The entity to encode

 * @param fileName The file to write to

 */

public void encode(Entity entity, String fileName)

    throws IOException;

Sرمز وافرة لترميز شبكة لملف رقائق مباشرة دون بناء مشهد.

 FileFormat.PLY.encode(new Sphere(), "sphere.ply");

Added طرق جديدة فك إلى الفئة com.aspose.threed. lylyFormat

 /**

 * Decode a point cloud or mesh from the specified stream.

 * @param fileName The input stream

 * @param opt The load option of PLY format

 * @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance

 */

public Geometry decode(String fileName, PlyLoadOptions opt)

    throws IOException;

/**

 * Decode a point cloud or mesh from the specified stream.

 * @param fileName The input stream

 * @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance

 */

public Geometry decode(String fileName)

    throws IOException;

/**

 * Decode a point cloud or mesh from the specified stream.

 * @param stream The input stream

 * @param opt The load option of PLY format

 * @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance

 */

public Geometry decode(Stream stream, PlyLoadOptions opt)

    throws IOException;

/**

 * Decode a point cloud or mesh from the specified stream.

 * @param stream The input stream

 * @return A {@link com.aspose.threed.Mesh} or {@link com.aspose.threed.PointCloud} instance

 */

public Geometry decode(Stream stream)

    throws IOException;

Sرمز وافرة لفك تشفير سحابة شبكة/نقطة من ملف رقائق:

 Geometry geom = FileFormat.PLY.decode("sphere.ply");

Ptions dded getter/اضع getPointCبصوت عال وsetPointCبصوت عال إلى الفئة com.aspose.threed.

 /**

 * Export the scene as point cloud, the default value is false.

 */

public boolean getPointCloud();

/**

 * Export the scene as point cloud, the default value is false.

 * @param value New value

 */

public void setPointCloud(boolean value);

Sرمز وافرة لإجبار تصدير مشهد إلى رقائق كسحابة نقطة

 PlySaveOptions opt = new PlySaveOptions();

opt.setPointCloud(true);

FileFormat.PLY.encode(new Sphere(), "sphere.ply", opt);