|
VisioMove SDK (Android)
2.1.22
|

The Vg3DModule::VgIGeometry interface is used as an abstraction of geometric features that can be added to or removed from the scene.
| VgIGeometry.VgIGeometry | ( | ) |
Constructor.
| void VgIGeometry.addListener | ( | VgIGeometryCallbackRefPtr | pCallback | ) |
Adds a listener to the geometry object. Alternatively you can use setNotifyPOISelectedOnClick with true and use the VgMapModule::VgIMapModule::addListener to receive the notifications in one place.
| pCallback | The callback to associate with this geometry object. |
| VgIGeometry VgIGeometry.asGeometry | ( | ) |
Casts this instance into a VgIGeometry .
| VgLine VgIGeometry.asLine | ( | ) |
Casts this instance into a VgLine .
| VgPoint VgIGeometry.asPoint | ( | ) |
Casts this instance into a VgPoint .
| boolean VgIGeometry.getBoundingPositions | ( | VgPositionVector | pResult | ) |
Returns a vector of points that can be used to determine a viewpoint where one is guaranteed that the whole object is visible.
| pResult | Vector reference where it will place the results. The VgSRS of all positions will not be geo-referenced. |
| String VgIGeometry.getID | ( | ) |
| VgLayerRefPtr VgIGeometry.getLayer | ( | ) |
| VgPosition VgIGeometry.getLocalPosition | ( | ) |
Gets the geometry's local node position relative to it's parent.
| boolean VgIGeometry.getNotifyPOISelectedOnClick | ( | ) |
| VgIGeometryType VgIGeometry.getType | ( | ) |
Gets the geometry type.
References VgIGeometryType.swigToEnum().
| VgVisibilityRamp VgIGeometry.getVisibilityRamp | ( | ) |
| void VgIGeometry.removeListener | ( | VgIGeometryCallbackRefPtr | pCallback | ) |
Removes a listener from the geometry object.
| pCallback | The callback to disassociate from this geometry object. |
| void VgIGeometry.setLayer | ( | VgLayerRefPtr | pLayer, |
| boolean | pHaveGeographicCoherence | ||
| ) |
Sets the associated layer.
| pLayer | The VgLayer to associate with the geometry object. Pass pLayer as null to disassociate the geometry object from a layer. |
| pHaveGeographicCoherence | An optional parameter who by default is true. Is used to determine the geographic coherence of the geometry. If set to false, then the geometry will be coherent with the scene. |
| void VgIGeometry.setLayer | ( | VgLayerRefPtr | pLayer | ) |
| void VgIGeometry.setLocalPosition | ( | VgPosition | pPosition | ) |
Sets the geometry's local node position relative to it's parent.
| pPosition | The spatial's local node relative position. |
| void VgIGeometry.setNotifyPOISelectedOnClick | ( | boolean | pValue | ) |
Sets the VgIGeometry to call the VgIMapModule::VgIPlaceListeners when the user clicks on the VgIGeometry . This is done after calling all the listeners added to the VgIGeometry directly.
| pValue |
| void VgIGeometry.setVisibilityRamp | ( | VgVisibilityRamp | pRamp | ) |
Sets the visibility ramp.
| pRamp |