shape_msgs.msg.dds.MeshTriangle Maven / Gradle / Ivy
package shape_msgs.msg.dds;
import us.ihmc.communication.packets.Packet;
import us.ihmc.euclid.interfaces.Settable;
import us.ihmc.euclid.interfaces.EpsilonComparable;
import java.util.function.Supplier;
import us.ihmc.pubsub.TopicDataType;
/**
* Definition of a triangle's vertices.
*/
public class MeshTriangle extends Packet implements Settable, EpsilonComparable
{
public MeshTriangle()
{
}
public MeshTriangle(MeshTriangle other)
{
this();
set(other);
}
public void set(MeshTriangle other)
{
}
public static Supplier getPubSubType()
{
return MeshTrianglePubSubType::new;
}
@Override
public Supplier getPubSubTypePacket()
{
return MeshTrianglePubSubType::new;
}
@Override
public boolean epsilonEquals(MeshTriangle other, double epsilon)
{
if(other == null) return false;
if(other == this) return true;
return true;
}
@Override
public boolean equals(Object other)
{
if(other == null) return false;
if(other == this) return true;
if(!(other instanceof MeshTriangle)) return false;
MeshTriangle otherMyClass = (MeshTriangle) other;
return true;
}
@Override
public java.lang.String toString()
{
StringBuilder builder = new StringBuilder();
builder.append("MeshTriangle {");
builder.append("}");
return builder.toString();
}
}