本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.plotting.YoArtifactOval.<init>()
方法的一些代码示例,展示了YoArtifactOval.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoArtifactOval.<init>()
方法的具体详情如下:
包路径:us.ihmc.graphicsDescription.yoGraphics.plotting.YoArtifactOval
类名称:YoArtifactOval
方法名:<init>
暂无
代码示例来源: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/ihmc-graphics-description
@Override
public YoArtifact duplicate(YoVariableRegistry newRegistry)
{
return new YoArtifactOval(getName(), center.duplicate(newRegistry), radii.duplicate(newRegistry), color);
}
}
代码示例来源: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));
内容来源于网络,如有侵权,请联系作者删除!