VB Symmetry Sample
Symmetry Sample
C++ Implementation
CSymmetryDlg::OnAdd() handler implements creation of new symmetries using
IArray2
interface, which is queried from ISection of
the single object.
UpdateSymmetriesListBox() method uses ISymmetries
interface to list all currently available symmetries in the list box of the
form.
Properties of the currently selected symmetry is obtained and displayed in
the UpdateSelSymmetryControls() method.
Modification of the selected symmetry if carried out in OnModify() handler, which does it with the help of ILocation (Translation) and
IAxis (Axial and Mirror) interfaces.
Implementation demonstrates usage of ISymmetries,
IArray2, ISection,
IAxis and ILocation
interfaces.
See also Symmetry Sample Overview, Symmetries All VB Samples, All samples.
|