本文整理了Java中us.ihmc.yoVariables.variable.YoFrameLineSegment2D.getYoFirstEndpointY()
方法的一些代码示例,展示了YoFrameLineSegment2D.getYoFirstEndpointY()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoFrameLineSegment2D.getYoFirstEndpointY()
方法的具体详情如下:
包路径:us.ihmc.yoVariables.variable.YoFrameLineSegment2D
类名称:YoFrameLineSegment2D
方法名:getYoFirstEndpointY
[英]Gets the internal reference to the y-coordinate used for the first endpoint of this line segment.
[中]获取用于此线段第一个端点的y坐标的内部参照。
代码示例来源: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.getYoFirstEndpointY().set(1.0);
lineSegment.getYoSecondEndpointX().set(2.0);
lineSegment.getYoSecondEndpointY().set(2.0);
内容来源于网络,如有侵权,请联系作者删除!