# H3DNetworkingUtils::RemoteCoordPoint Class Reference

The RemoteCoordPoint class provides network access to the point field of a Coordinate node. More...

`#include <H3DNetworkingUtils/RemoteCoordPoint.h>`

Inheritance diagram for H3DNetworkingUtils::RemoteCoordPoint:

List of all members.

## Public Member Functions
| RemoteCoordPoint ()
| Constructor.
## Static Public Attributes
static H3D::H3DNodeDatabase | database
| X3D interface.
## Protected Member Functions
virtual void | writeValue (H3D::Vec3f const &val)
| Write value to socket.
virtual H3D::Vec3f | readVal ()
| Read value from socket.

## Detailed Description

The RemoteCoordPoint class provides network access to the point field of a Coordinate node.

It alows individual points to be modified over the network without sending all the points in the array
Example of use (X3D):

       <RemoteTCPClient DEF="client"
          remoteHost="localhost"
          remotePort="50000"
          open="TRUE">
          <RemoteCoordPoint DEF="remote_coord_point" fieldId="0">
             <Coordinate USE="slave1_coords" containerField="theNode"/>
          </RemoteCoordPoint>
       </RemoteTCPClient>

Note that, unlike other RemoteFields, no separate routing of the points needs to occur, as the USE statement handles this. However, you must route to one of sendAll, indiciesToBeSent or indexToBeSent to trigger values to be sent at all.
Examples:

- RemoteCoordPointTestServer.x3d
- RemoteCoordPointTestClient.x3d

The documentation for this class was generated from the following files:

- RemoteCoordPoint.h
- RemoteCoordPoint.cpp