com.yobotics.simulationconstructionset.util.math.frames
Class YoFrameConvexPolygon2d
java.lang.Object
com.yobotics.simulationconstructionset.util.math.frames.YoFrameConvexPolygon2d
- All Implemented Interfaces:
- VariableChangedListener
public class YoFrameConvexPolygon2d
- extends java.lang.Object
- implements VariableChangedListener
Title:
Description:
Copyright: Copyright (c) 2006
Company:
- Version:
- 1.0
- Author:
- not attributable
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YoFrameConvexPolygon2d
public YoFrameConvexPolygon2d(java.lang.String namePrefix,
java.lang.String nameSuffix,
ReferenceFrame referenceFrame,
int maxNumberOfVertices,
YoVariableRegistry registry)
getNumberOfVertices
public int getNumberOfVertices()
getMaxNumberOfVertices
public int getMaxNumberOfVertices()
getPolygonPointArray
public double[][] getPolygonPointArray()
getPolygonPointArray
public void getPolygonPointArray(double[][] pointArray)
getFrameConvexPolygon2dCopy
public FrameConvexPolygon2d getFrameConvexPolygon2dCopy()
setFrameConvexPolygon2d
public void setFrameConvexPolygon2d(FrameConvexPolygon2d polygon)
setConvexPolygon2d
public void setConvexPolygon2d(ConvexPolygon2d convexPolygon)
getClockwiseOrderedListOfPointsCopy
public java.util.ArrayList<javax.vecmath.Point2d> getClockwiseOrderedListOfPointsCopy()
getClockwiseOrderedListOfPointsCopy
public java.util.ArrayList<javax.vecmath.Point3d> getClockwiseOrderedListOfPointsCopy(double z)
getYoFramePoints
public java.util.ArrayList<YoFramePoint2d> getYoFramePoints()
hide
public void hide()
getReferenceFrame
public ReferenceFrame getReferenceFrame()
variableChanged
public void variableChanged(YoVariable v)
- Specified by:
variableChanged
in interface VariableChangedListener
getHasChangedAndReset
public boolean getHasChangedAndReset()