Class PolyLine

All Implemented Interfaces:
Serializable, Comparable, TemporalComputedObject3D, MatrixPropertiesObject, XmlRepresentable

public class PolyLine extends ParametricCurve
See Also:
  • Constructor Details

    • PolyLine

      public PolyLine()
    • PolyLine

      public PolyLine(Point3D[] point3DS, Color random)
    • PolyLine

      public PolyLine(Point3D[] point3DS, ITexture random)
  • Method Details

    • getPoints

      public List<Point3D> getPoints()
    • setPoints

      public void setPoints(Point3D[] points)
    • calculerPoint3D

      public Point3D calculerPoint3D(double t)
      Overrides:
      calculerPoint3D in class ParametricCurve
    • add

      public void add(Point3D point3D)
    • toString

      public String toString()
      Overrides:
      toString in class Representable
    • declareProperties

      public void declareProperties()
      Description copied from class: Representable
      Declares the properties of the Representable class. This method clears the declaredDataStructure map and adds specific properties to it based on the object's rotation and type. If the object's rotation is not null and the object is not an instance of Point3D, a "rotation/Rotation" property is added. The "vectors/vectors" property is always added to the map.
      Specified by:
      declareProperties in interface MatrixPropertiesObject
      Overrides:
      declareProperties in class ParametricCurve