org.ogre4j
Class Degree

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.Degree
All Implemented Interfaces:
IDegree, INativeObject

public class Degree
extends NativeObject
implements IDegree


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  Degree(float d)
           
  Degree(InstancePointer p)
          This constructor is public for internal useage only!
protected Degree(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  Degree(IRadian r)
           
  Degree(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 IDegree operatorAddition()
           
 void operatorAddition(IDegree returnValue, IDegree d)
           
 void operatorAddition(IDegree returnValue, IRadian r)
           
 IDegree operatorAssignment(float f)
           
 IDegree operatorAssignment(IDegree d)
           
 IDegree operatorAssignment(IRadian r)
           
 IDegree operatorDecrementAndAssign(IDegree d)
           
 IDegree operatorDecrementAndAssign(IRadian r)
           
 IDegree operatorDivideAndAssign(float f)
           
 void operatorDivision(IDegree returnValue, float f)
           
 boolean operatorEqual(IDegree d)
           
 boolean operatorGreaterThan(IDegree d)
           
 boolean operatorGreaterThanOrEqual(IDegree d)
           
 IDegree operatorIncrementAndAssign(IDegree d)
           
 IDegree operatorIncrementAndAssign(IRadian r)
           
 boolean operatorLessThan(IDegree d)
           
 boolean operatorLessThanOrEqual(IDegree d)
           
 void operatorMultiplication(IDegree returnValue, float f)
           
 void operatorMultiplication(IDegree returnValue, IDegree f)
           
 IDegree operatorMultiplyAndAssign(float f)
           
 boolean operatorNotEqual(IDegree d)
           
 void operatorSubtraction(IDegree returnValue)
           
 void operatorSubtraction(IDegree returnValue, IDegree d)
           
 void operatorSubtraction(IDegree returnValue, IRadian r)
           
 float valueAngleUnits()
           
 float valueDegrees()
           
 float valueRadians()
           
 
Methods inherited from class org.xbig.base.NativeObject
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xbig.base.INativeObject
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Constructor Detail

Degree

public Degree(InstancePointer p)
This constructor is public for internal useage only! Do not use it!


Degree

protected Degree(InstancePointer p,
                 boolean remote)
Creates a Java wrapper object for an existing C++ object. If remote is set to 'true' this object cannot be deleted in Java.


Degree

public Degree(WithoutNativeObject val)
Allows creation of Java objects without C++ objects.

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

Degree

public Degree(float d)

Degree

public Degree(IRadian r)
Method Detail

delete

public void delete()
Description copied from interface: INativeObject
Deletes the corresponding C++ object.

Subclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!

Specified by:
delete in interface INativeObject
Specified by:
delete in class NativeObject
See Also:
#remote

finalize

public void finalize()
Overrides:
finalize in class NativeObject

operatorAssignment

public IDegree operatorAssignment(float f)
Specified by:
operatorAssignment in interface IDegree

operatorAssignment

public IDegree operatorAssignment(IDegree d)
Specified by:
operatorAssignment in interface IDegree

operatorAssignment

public IDegree operatorAssignment(IRadian r)
Specified by:
operatorAssignment in interface IDegree

valueDegrees

public float valueDegrees()
Specified by:
valueDegrees in interface IDegree

valueRadians

public float valueRadians()
Specified by:
valueRadians in interface IDegree

valueAngleUnits

public float valueAngleUnits()
Specified by:
valueAngleUnits in interface IDegree

operatorAddition

public IDegree operatorAddition()
Specified by:
operatorAddition in interface IDegree

operatorAddition

public void operatorAddition(IDegree returnValue,
                             IDegree d)
Specified by:
operatorAddition in interface IDegree

operatorAddition

public void operatorAddition(IDegree returnValue,
                             IRadian r)
Specified by:
operatorAddition in interface IDegree

operatorIncrementAndAssign

public IDegree operatorIncrementAndAssign(IDegree d)
Specified by:
operatorIncrementAndAssign in interface IDegree

operatorIncrementAndAssign

public IDegree operatorIncrementAndAssign(IRadian r)
Specified by:
operatorIncrementAndAssign in interface IDegree

operatorSubtraction

public void operatorSubtraction(IDegree returnValue)
Specified by:
operatorSubtraction in interface IDegree

operatorSubtraction

public void operatorSubtraction(IDegree returnValue,
                                IDegree d)
Specified by:
operatorSubtraction in interface IDegree

operatorSubtraction

public void operatorSubtraction(IDegree returnValue,
                                IRadian r)
Specified by:
operatorSubtraction in interface IDegree

operatorDecrementAndAssign

public IDegree operatorDecrementAndAssign(IDegree d)
Specified by:
operatorDecrementAndAssign in interface IDegree

operatorDecrementAndAssign

public IDegree operatorDecrementAndAssign(IRadian r)
Specified by:
operatorDecrementAndAssign in interface IDegree

operatorMultiplication

public void operatorMultiplication(IDegree returnValue,
                                   float f)
Specified by:
operatorMultiplication in interface IDegree

operatorMultiplication

public void operatorMultiplication(IDegree returnValue,
                                   IDegree f)
Specified by:
operatorMultiplication in interface IDegree

operatorMultiplyAndAssign

public IDegree operatorMultiplyAndAssign(float f)
Specified by:
operatorMultiplyAndAssign in interface IDegree

operatorDivision

public void operatorDivision(IDegree returnValue,
                             float f)
Specified by:
operatorDivision in interface IDegree

operatorDivideAndAssign

public IDegree operatorDivideAndAssign(float f)
Specified by:
operatorDivideAndAssign in interface IDegree

operatorLessThan

public boolean operatorLessThan(IDegree d)
Specified by:
operatorLessThan in interface IDegree

operatorLessThanOrEqual

public boolean operatorLessThanOrEqual(IDegree d)
Specified by:
operatorLessThanOrEqual in interface IDegree

operatorEqual

public boolean operatorEqual(IDegree d)
Specified by:
operatorEqual in interface IDegree

operatorNotEqual

public boolean operatorNotEqual(IDegree d)
Specified by:
operatorNotEqual in interface IDegree

operatorGreaterThanOrEqual

public boolean operatorGreaterThanOrEqual(IDegree d)
Specified by:
operatorGreaterThanOrEqual in interface IDegree

operatorGreaterThan

public boolean operatorGreaterThan(IDegree d)
Specified by:
operatorGreaterThan in interface IDegree


Copyright © 2007 netAllied GmbH. All Rights Reserved.