gpt4 book ai didi

us.ihmc.graphicsDescription.yoGraphics.plotting.YoArtifactOval类的使用及代码示例

转载 作者:知者 更新时间:2024-03-17 06:03:31 25 4
gpt4 key购买 nike

本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.plotting.YoArtifactOval类的一些代码示例,展示了YoArtifactOval类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoArtifactOval类的具体详情如下:
包路径:us.ihmc.graphicsDescription.yoGraphics.plotting.YoArtifactOval
类名称:YoArtifactOval

YoArtifactOval介绍

暂无

代码示例

代码示例来源:origin: us.ihmc/ihmc-graphics-description

@Override
  public YoArtifact duplicate(YoVariableRegistry newRegistry)
  {
   return new YoArtifactOval(getName(), center.duplicate(newRegistry), radii.duplicate(newRegistry), color);
  }
}

代码示例来源:origin: us.ihmc/ihmc-graphics-description

private static YoArtifactOval yoArtifactOvalFromMessage(String name, YoVariable<?>[] vars, double[] consts, AppearanceDefinition appearance)
{
 return new YoArtifactOval(name, (YoDouble) vars[0], (YoDouble) vars[1], (YoDouble) vars[2], appearance.getColor().get());
}

代码示例来源:origin: us.ihmc/IHMCGraphicsDescription

return new YoArtifactOval(name, (DoubleYoVariable) vars[0], (DoubleYoVariable) vars[1],
   (DoubleYoVariable) vars[2], appearance.getColor().get());

代码示例来源:origin: us.ihmc/simulation-construction-set-test

plotter.addArtifact(new LineArtifact("02", new Point2D(1, 1), new Point2D(2, 0)));
plotter.addArtifact(new LineArtifact("03", new Point2D(2, 0), new Point2D(3, 1)));
plotter.addArtifact(new YoArtifactOval("circle", center, radii, Color.RED));
plotter.addArtifact(new YoArtifactLineSegment2d("lineSegment1", lineSegment, Color.DARK_GRAY, 0.1, 0.1));
plotter.addArtifact(new YoArtifactLine2d("line1", line, Color.GREEN));

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com