Class CIMShapeVertex

Namespace
ESRI.ArcGIS.CIM
Assembly
ESRI.Server.CIM.dll

Represents a shape vertex.

public class CIMShapeVertex : CIMObject
Inheritance
CIMShapeVertex
Inherited Members

Remarks

Each Vertex in a 3DShapeGraphic is represented by three points, contained in a ShapeVertex. The first point is the actual position of the Vertex. The second represents the normalized vector that describes the orientation of the point. The last point is optional - it defines the coordinates of the texture that correspond with this point in the shape. In this case only x and y are used as the traditional texture coordinates S and T.

Constructors

CIMShapeVertex()

public CIMShapeVertex()

Properties

NormalVector

Gets or sets the normal vector.

public IPoint NormalVector { get; set; }

Property Value

IPoint

Position

Gets or sets the position.

public IPoint Position { get; set; }

Property Value

IPoint

TextureCoordinate

Gets or sets the texture coordinate.

public IPoint TextureCoordinate { get; set; }

Property Value

IPoint

Methods

FromJson(string, JsonDeserializationSettings)

Reconstructs the CIMShapeVertex with a specified state from a JSON encoding.

public static CIMShapeVertex FromJson(string json, JsonDeserializationSettings settings = null)

Parameters

json string

The JSON string containing the CIMShapeVertex state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMShapeVertex

ToJson(JsonSerializationSettings)

Creates a JSON encoding of the CIMShapeVertex and its current state.

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string