Class ThreeRankBezierCurve

  • All Implemented Interfaces:

    
    public final class ThreeRankBezierCurve
    extends ParticleObject
                        

    表示一条三阶贝塞尔曲线

    给定四点, 自动生成一条三阶贝塞尔曲线

    Author:

    Zoyn

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Location p0
      private Location p1
      private Location p2
      private Location p3
      private Double step
    • Constructor Summary

      Constructors 
      Constructor Description
      ThreeRankBezierCurve(Location p0, Location p1, Location p2, Location p3, Double step)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • ThreeRankBezierCurve

        ThreeRankBezierCurve(Location p0, Location p1, Location p2, Location p3, Double step)
        Parameters:
        p0 - 连续点
        p1 - 控制点
        p2 - 控制点
        p3 - 连续点
        step - 每个粒子的间隔(也即步长)