Module pointcloud

Class LeafPointImpl

All Implemented Interfaces:
Cloud.Point, CloudContext, Transformation, Pickable, Renderable, Manageable, PersistenceCapable, Shareable, PointCloudLeaf, UserFields, XObject, Map, Serializable

public class LeafPointImpl extends Point implements PointCloudLeaf
See Also:
  • Field Details

    • idImport

      protected long idImport
    • $TYPE

      public static final Node.NType $TYPE
    • idImport$FIELD

      public static final Node.NType.Field idImport$FIELD
  • Constructor Details

    • LeafPointImpl

      public LeafPointImpl()
    • LeafPointImpl

      public LeafPointImpl(StringMap args)
    • LeafPointImpl

      public LeafPointImpl(double x, double y, double z)
    • LeafPointImpl

      public LeafPointImpl(double[] coordinate)
      Parameters:
      coordinate - an array of 3 element in order x,y,z
  • Method Details

    • getNode

      public Node getNode()
      Specified by:
      getNode in interface PointCloudLeaf
    • toSphere

      public Sphere toSphere(float radius)
    • toNull

      public Node toNull(Null node)
    • toFloat

      public float[] toFloat()
      Specified by:
      toFloat in interface Cloud.Point
    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Point
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Point
      Returns:
      new instance of class of this node
    • getIdImport

      public long getIdImport()
      Specified by:
      getIdImport in interface PointCloudLeaf
    • setIdImport

      public void setIdImport(long value)
      Specified by:
      setIdImport in interface PointCloudLeaf