Version: 9.15.0
Home
GEOM_ITestOperations Interface Reference

Interface for testing operations. More...

import"GEOM_Gen.idl";

Public Member Functions

boolean Tesselate (in GEOM_Object shape, in double linearDeflection, in boolean isRelative, in double angularDeflection)
 Build a mesh on the given shape. More...
 
boolean IsDone ()
 To know, if the operation was successfully performed. More...
 
void SetErrorCode (in string theErrorID)
 Set the operation error code. More...
 
string GetErrorCode ()
 Get the operation error code. More...
 
void StartOperation ()
 Opens a new transaction. More...
 
void FinishOperation ()
 Closes the previously opened transaction. More...
 
void AbortOperation ()
 Aborts the previously opened transaction. More...
 

Detailed Description

Interface for testing operations.

Member Function Documentation

◆ Tesselate()

boolean Tesselate ( in GEOM_Object  shape,
in double  linearDeflection,
in boolean  isRelative,
in double  angularDeflection 
)

Build a mesh on the given shape.

Parameters
shapeis a source object
linearDeflectionis a linear deflection
isRelativesays if given value of deflection is relative to shape's bounding box
angularDeflectionis an angular deflection for edges in radians
Returns
true in case of success; otherwise false.

◆ IsDone()

boolean IsDone ( )
inherited

To know, if the operation was successfully performed.

◆ SetErrorCode()

void SetErrorCode ( in string  theErrorID)
inherited

Set the operation error code.

Parameters
theErrorIDis a string describing the error occurred
Note
This method is supposed to be used only by interfaces inheriting from IOperations.

◆ GetErrorCode()

string GetErrorCode ( )
inherited

Get the operation error code.

◆ StartOperation()

void StartOperation ( )
inherited

Opens a new transaction.

◆ FinishOperation()

void FinishOperation ( )
inherited

Closes the previously opened transaction.

◆ AbortOperation()

void AbortOperation ( )
inherited

Aborts the previously opened transaction.