FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Expression::GeometryValue Class Reference

Inherits OSGeo::FDO::Expression::LiteralValue.

Inheritance diagram for OSGeo::FDO::Expression::GeometryValue:

[legend]
List of all members.

Detailed Description

The GeometryValue class derives from LiteralValue and represents a geometric value.


Public Member Functions

 GeometryValue (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a GeometryValue object based on an unmanaged instance of the object.
 GeometryValue (System::Byte geometry[])
 Constructs an instance of an GeometryValue using the specified arguments.
 GeometryValue ()
 Constructs a default instance of an GeometryValue with a value of null.
__property System::Byte get_Geometry ()[]
 Gets the geometry as a byte array. The geometry is expected to be encoded in Autodesk Well-Known Binary format.
System::Boolean IsNull ()
 Returns true if the GeometryValue represents a null value.
System::Void Process (OSGeo::FDO::Expression::IExpressionProcessor *processor)
 Overrides Expression.Process to pass the GeometryValue to the appropriate expression processor operation.
__property System::Void set_Geometry (System::Byte value[])
 Sets the geometry as a byte array. The geometry is expected to be encoded in Autodesk Well-Known Binary format.
System::Void SetNull ()
 Sets the GeometryValue to a null value.
System::String * ToString ()
 Returns the well defined text representation of this expression.

Constructor & Destructor Documentation

OSGeo::FDO::Expression::GeometryValue::GeometryValue  ) 
 

Constructs a default instance of an GeometryValue with a value of null.

Returns:
Returns GeometryValue

OSGeo::FDO::Expression::GeometryValue::GeometryValue System::Byte  geometry[]  ) 
 

Constructs an instance of an GeometryValue using the specified arguments.

Parameters:
geometry Input geometry byte array
Returns:
Returns GeometryValue

OSGeo::FDO::Expression::GeometryValue::GeometryValue System::IntPtr  unmanaged,
System::Boolean  autoDelete
 

Constructs a GeometryValue object based on an unmanaged instance of the object.

Parameters:
unmanaged Input A Pointer to the unmanaged object.
autoDelete Input Indicates if the constructed object should be automatically deleted once it no longer referenced.

Member Function Documentation

__property System::Byte OSGeo::FDO::Expression::GeometryValue::get_Geometry  ) 
 

Gets the geometry as a byte array. The geometry is expected to be encoded in Autodesk Well-Known Binary format.

Returns:
Returns geometry in FGF format

System::Boolean OSGeo::FDO::Expression::GeometryValue::IsNull  ) 
 

Returns true if the GeometryValue represents a null value.

Returns:
Returns true if null geometry

System::Void OSGeo::FDO::Expression::GeometryValue::Process OSGeo::FDO::Expression::IExpressionProcessor processor  ) 
 

Overrides Expression.Process to pass the GeometryValue to the appropriate expression processor operation.

Parameters:
processor Input the expression processor interface
Returns:
Returns nothing

Reimplemented from OSGeo::FDO::Expression::Expression.

__property System::Void OSGeo::FDO::Expression::GeometryValue::set_Geometry System::Byte  value[]  ) 
 

Sets the geometry as a byte array. The geometry is expected to be encoded in Autodesk Well-Known Binary format.

Parameters:
value Input geometry in FGF format
Returns:
Returns nothing

System::Void OSGeo::FDO::Expression::GeometryValue::SetNull  ) 
 

Sets the GeometryValue to a null value.

Returns:
Returns nothing

System::String* OSGeo::FDO::Expression::GeometryValue::ToString  ) 
 

Returns the well defined text representation of this expression.

Returns:
Returns the well defined text string

Reimplemented from OSGeo::FDO::Expression::Expression.


Comments or suggestions? Send us feedback.