com.threerings.tudey.shape.config
Class ShapeConfig.Vertex

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.shape.config.ShapeConfig.Vertex
All Implemented Interfaces:
Exportable, com.threerings.io.Streamable, Copyable, Cloneable
Enclosing class:
ShapeConfig

public static class ShapeConfig.Vertex
extends DeepObject
implements Exportable, com.threerings.io.Streamable

A single vertex in a polygon.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
 float x
          The vertex coordinates.
 float y
          The vertex coordinates.
 
Constructor Summary
ShapeConfig.Vertex()
           
 
Method Summary
 Vector2f createVector()
          Creates a vector from this vertex.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

x

@Editable(column=true)
public float x
The vertex coordinates.


y

@Editable(column=true)
public float y
The vertex coordinates.

Constructor Detail

ShapeConfig.Vertex

public ShapeConfig.Vertex()
Method Detail

createVector

public Vector2f createVector()
Creates a vector from this vertex.



Copyright © 2011. All Rights Reserved.