public class CIMShapeVertex extends CIMObject
| Constructor and Description |
|---|
CIMShapeVertex() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMShapeVertex |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
IPoint |
getNormalVector()
Gets the normal vector.
|
IPoint |
getPosition()
Gets the position.
|
IPoint |
getTextureCoordinate()
Gets the texture coordinate.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setNormalVector(IPoint normalVector)
Sets the normal vector.
|
void |
setPosition(IPoint position)
Sets the position.
|
void |
setTextureCoordinate(IPoint textureCoordinate)
Sets the texture coordinate.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public IPoint getPosition()
public void setPosition(IPoint position)
public IPoint getNormalVector()
public void setNormalVector(IPoint normalVector)
public IPoint getTextureCoordinate()
public void setTextureCoordinate(IPoint textureCoordinate)
public static CIMShapeVertex fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMObjectCIMJSONExceptionpublic void serialize(JSONObject jsonObject)