This document is archived and information here might be outdated.  Recommended version.


ISphere.QueryCenter Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

ISphere.QueryCenter Method

Sets an existing point equal to the center of the sphere.

[Visual Basic .NET]
Public Sub QueryCenter ( _
    ByVal CenterPoint As IPoint _
)
[C#]
public void QueryCenter (
    IPoint CenterPoint
);
[C++]
HRESULT QueryCenter(
  IPoint* CenterPoint
);
[C++]

Parameters CenterPoint
CenterPoint is a parameter of type IPoint*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the Point corresponding to the Center of the Sphere.

Remarks

Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.

Sphere QueryCenter Example

See Also

ISphere Interface