gpt4 book ai didi

us.ihmc.yoVariables.variable.YoFrameLineSegment2D.getYoSecondEndpointX()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-16 22:19:31 26 4
gpt4 key购买 nike

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

YoFrameLineSegment2D.getYoSecondEndpointX介绍

[英]Gets the internal reference to the x-coordinate used for the second endpoint of this line segment.
[中]获取用于此线段第二个端点的x坐标的内部参照。

代码示例

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

public YoArtifactLineSegment2d(String name, YoFrameLineSegment2D lineSegment, Color color)
{
 super(name, new double[0], color,
    lineSegment.getYoFirstEndpointX(), lineSegment.getYoFirstEndpointY(), lineSegment.getYoSecondEndpointX(), lineSegment.getYoSecondEndpointY());
 this.lineSegment = lineSegment;
 this.drawArrow = false;
}

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

public YoArtifactLineSegment2d(String name, YoFrameLineSegment2D lineSegment, Color color, double arrowHeadWidth, double arrowHeadHeight)
{
 super(name, new double[0], color,
    lineSegment.getYoFirstEndpointX(), lineSegment.getYoFirstEndpointY(), lineSegment.getYoSecondEndpointX(), lineSegment.getYoSecondEndpointY());
 this.lineSegment = lineSegment;
 this.drawArrow = true;
 instatiateArrowObjects(arrowHeadWidth, arrowHeadHeight);
}

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

lineSegment.getYoFirstEndpointX().set(1.0);
lineSegment.getYoFirstEndpointY().set(1.0);
lineSegment.getYoSecondEndpointX().set(2.0);
lineSegment.getYoSecondEndpointY().set(2.0);

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