Click or drag to resize
SoCoordinateElement Class

Stores the current coordinates.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoReplacedElement
        OIV.Inventor.ElementsSoCoordinateElement

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public class SoCoordinateElement : SoReplacedElement

The SoCoordinateElement type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGet3

Returns the indexed coordinate from an element as a 3-vector, converting if necessary.

Public methodGet4

Returns the indexed coordinate from an element as a 4-vector, converting if necessary.

Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodStatic memberGetDefault3

Returns the default 3-D coordinate.

Public methodStatic memberGetDefault4

Returns the default 4-D coordinate.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodStatic memberGetInstance

Returns the top (current) instance of the element in the state.

Public methodGetNum

Returns the number of coordinate points in an instance.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIs3D

Returns true if the coordinates were specified as 3-vectors, false if 4-vectors.

Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodPush

Pushes element.

(Inherited from SoElement.)
Public methodStatic memberSet3

Sets the current coordinates in the state as 3-vectors.

Public methodStatic memberSet4

Sets the current coordinates in the state as 4-vectors.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This element stores the current coordinates. Coordinates may be specified as 3-D or 4-D vectors. This element remembers the last type of value stored.

This class allows read-only access to the top element in the state to make accessing several values in it more efficient. Individual values must be accessed through this instance.

See Also