Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:sdksamples:casting [2015/09/14]
127.0.0.1 external edit
developer:sdksamples:casting [2015/11/24] (current)
sandy
Line 1: Line 1:
 ====== Type Casting SDK Objects ====== ====== Type Casting SDK Objects ======
 > **Developer:​** //​[[developer:​cplusplusplugins|C++]]//​ > **Developer:​** //​[[developer:​cplusplusplugins|C++]]//​
-> **Summary:​** //Discusses type casting Rhino SDK objects.//+> **Summary:​** //Discusses type casting Rhino SDK objects//
  
 ===== Question ===== ===== Question =====
Line 9: Line 9:
 All Rhino SDK classes derived from **ON_Object** provide conversions between pointers to related classes using a static **ON_Object::​Cast** function. All Rhino SDK classes derived from **ON_Object** provide conversions between pointers to related classes using a static **ON_Object::​Cast** function.
  
-If you have a pointer to some base classthat inherits from **ON_Object**,​ and you want to convert it to a pointer of a derived class, than simply call the derived class' ​**Cast** function. ​+If you have a pointer to some base class that inherits from **ON_Object**,​ and you want to convert it to a pointer of a derived class, than simply call the derived class **Cast** function. ​
  
 For example: For example:
Line 18: Line 18:
 </​code>​ </​code>​
  
-===== More Information ​=====+===== More information ​=====
 For more information on Rhino objects, see the following: For more information on Rhino objects, see the following:
  
developer/sdksamples/casting.txt ยท Last modified: 2015/11/24 by sandy