Class PointListFixture

All Implemented Interfaces:
LXComponent.Renamable, LXPath, LXSerializable, LXParameterListener, LXFixtureContainer

public class PointListFixture extends LXBasicFixture
  • Constructor Details

    • PointListFixture

      public PointListFixture(LX lx, List<LXVector> coordinates)
  • Method Details

    • computePointGeometry

      protected void computePointGeometry(LXMatrix transform, List<LXPoint> points)
      Description copied from class: LXFixture
      This method should be implemented by subclasses to generate the geometry of the fixture any time its geometry parameters have changed. The correct number of points will have already been computed, and merely need to have their positions set.
      Specified by:
      computePointGeometry in class LXFixture
      Parameters:
      transform - A transform matrix representing the fixture's position
      points - The list of points that need to have their positions set
    • size

      protected int size()
      Description copied from class: LXFixture
      Subclasses must implement to specify the number of points in the fixture. This does not include the number of points that are in children.
      Specified by:
      size in class LXFixture
      Returns:
      number of points immediately in the fixture
    • getDefaultTags

      public String[] getDefaultTags()
      Description copied from class: LXFixture
      Subclasses may override to return an array of default tag types for this fixture in the model hierarchy
      Overrides:
      getDefaultTags in class LXFixture
      Returns:
      List of model tag types for this fixture