The IDLgrAxis::Init function method initializes an axis object.
Obj = OBJ_NEW('IDLgrAxis' [, Direction] [, PROPERTY=value])
Result = Obj->[IDLgrAxis::]Init([Direction] [, PROPERTY=value]) (Only in a subclass' Init method.)
When this method is called indirectly, as part of the call to the OBJ_NEW function, the return value is an object reference to the newly-created object.
When called directly within a subclass Init method, the return value is 1 if initialization was successful, or zero otherwise.
An integer value specifying which axis is being created. Specify 0 (zero) to create an X axis, 1 (one) to create a Y axis, or 2 to create a Z axis.
Any property listed under IDLgrAxis Properties that contains the word "Yes" in the "Init" column of the properties table can be initialized during object creation using this method. To initialize the value of a property, specify the property name as a keyword set equal to the appropriate property value.
CLIP_PLANES keyword added: 5.6