TCOEDGE
List of: Classes
Subjects: Healing, Model Topology, Precision and Tolerance, SAT Save and Restore, Tolerant Modeling
Contents: Kernel

Purpose: Internal to ACIS and not intended for direct usage.

Derivation: TCOEDGE : COEDGE : ENTITY : ACIS_OBJECT : -

SAT Identifier: "tcoedge"

Filename: kern/kernel/kerndata/top/tcoedge.hxx

Description: Although this internal class is intended strictly forACIS usage, a minimal amount of information about this class is provided for the sole purpose of being able to understand and trace restoration from a SAT file.


This class is used as part of the tolerant modeling technology. It is not intended to be created directly. Instead, it could be created as part of model translation and healing. It permits a coedge to be created and supported by ACIS when the original data from translation or a corrupted model did not meet the tighter tolerances of ACIS.


The tolerance coedge class, TCOEDGE, is a derived class of COEDGE. The TCOEDGE extends the COEDGE class by adding parameter bounds, a lazy 3D curve derived from the pcurve, and a parameter box. TCOEDGEs on faces must maintain a pointer to a pcurve, which represents the curve underlying the edge in the parametric space of the surface. TCOEDGEs on analytic surfaces are required to have pcurves.


The edge of a TCOEDGE must be a TEDGE. The parameter bounds of the TCOEDGE must be less than or equal to the bounds of the pcurve.

References: KERN CURVE

BASE SPAinterval

Constructor: public: TCOEDGE::TCOEDGE ();


C++ allocation constructor requests memory for this object but does not populate it. The allocation constructor is used primarily by restore. Applications should call this constructor only with the overloaded new operator, because this reserves the memory on the heap, a requirement to support roll back and history management.






public: TCOEDGE::TCOEDGE (


EDGE*, // edge pointer


REVBIT, // sense


COEDGE*, // next coedge


COEDGE*, // previous coedge


SPAinterval // bounding region


);


C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments. Applications should call this constructor only with the overloaded new operator, because this reserves the memory on the heap, a requirement to support roll back and history management.




Destructor: public: virtual void TCOEDGE::lose ();


Posts a delete bulletin to the bulletin board indicating the instance is no longer used in the active model. The lose methods for attached attributes are also called.






protected: virtual TCOEDGE::~TCOEDGE ();


This C++ destructor should never be called directly. Instead, applications should use the overloaded lose method inherited from the ENTITY class, because this supports history management. (For example, x=new TCOEDGE(...) then later x->lose.)



Methods: protected: virtual logical


TCOEDGE::bulletin_no_change_vf (


ENTITY const* other,
// other entity


logical identical_comparator // comparator


) const;


Virtual function for comparing subclass data - called by bulletin_no_change. For identical_comparator to be TRUE requires an exact match when comparing doubles, and returns the result of memcmp as a default (for non-overridden subclasses). FALSE indicates tolerant compares and returns FALSE as a default.






public: virtual logical TCOEDGE::is_deepcopyable (


) const;


Returns TRUE if this can be deep copied.






public: void TCOEDGE::restore_common ();


The RESTORE_DEF macro expands to the restore_common method, which is used in reading information from a SAT file. This method is never called directly. It is called by a higher hierarchical function if an item in the SAT file is determined to be of this class type. An instance of this class will already have been created through the allocation constructor. This method then populates the class instance with the appropriate data from the SAT file.


read_real Starting parameter of the coedge.

read_real


Ending parameter of the coedge.

Internal Use: bound, debug_ent, end_param, end_pos, get_3D_curve, get_curve, identity, param_range, save, save_common, set_3D_curve, set_bound, set_geometry, set_param_range, start_param, start_pos, type_name




Related Fncs: is_TCOEDGE
PDF/KERN/38CLT.PDF
HTM/DATA/KERN/KERN/38CLT/0002.HTM