EarthAnchorPoint

References
Contains information about the model's position in latitude, longitude, and elevation for GIS mapping applications.

Constructors

EarthAnchorPoint

#Since v5.0
Initializes a new instance of the EarthAnchorPoint class.
public EarthAnchorPoint()

Finalizer

~EarthAnchorPoint

#
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
~EarthAnchorPoint()

Properties

Description

#Since v5.0
Gets or sets the long form of the identifying information about this location.
public string Description { get; set; }

EarthBasepointElevation

#Since v5.0
Gets or sets the point elevation on earth, in meters.
public double EarthBasepointElevation { get; set; }

EarthBasepointElevationCoordinateSystem

#Since v8.5
Gets or sets a value indicating the zero level convention relating to a location on Earth.
public EarthCoordinateSystem EarthBasepointElevationCoordinateSystem { get; set; }

EarthBasepointElevationZero

#Since v5.0
Gets or sets a value indicating the zero level convention relating to a location on Earth.
[EditorBrowsable(EditorBrowsableState.Never)] public BasepointZero EarthBasepointElevationZero { get; set; }
obsoletePlease use EarthBasepointElevationCoordinateSystem property

EarthBasepointLatitude

#Since v5.0
Gets or sets a point latitude on earth, in degrees. +90 = north pole, 0 = equator, -90 = south pole.
public double EarthBasepointLatitude { get; set; }

EarthBasepointLongitude

#Since v5.0
Gets or sets the point longitude on earth, in degrees.
public double EarthBasepointLongitude { get; set; }

KMLOrientationHeadingAngleDegrees

#Since v7.11
Gets Keyhole Markup Language (KML) orientation heading angle in degrees.
public double KMLOrientationHeadingAngleDegrees { get; }

KMLOrientationHeadingAngleRadians

#Since v7.11
Gets Keyhole Markup Language (KML) orientation heading angle in radians.
public double KMLOrientationHeadingAngleRadians { get; }

KMLOrientationRollAngleDegrees

#Since v7.11
Gets Keyhole Markup Language (KML) orientation roll angle in degrees.
public double KMLOrientationRollAngleDegrees { get; }

KMLOrientationRollAngleRadians

#Since v7.11
Gets Keyhole Markup Language (KML) orientation roll angle in degrees.
public double KMLOrientationRollAngleRadians { get; }

KMLOrientationTiltAngleDegrees

#Since v7.11
Gets Keyhole Markup Language (KML) orientation tilt angle in degrees.
public double KMLOrientationTiltAngleDegrees { get; }

KMLOrientationTiltAngleRadians

#Since v7.11
Gets Keyhole Markup Language (KML) orientation tilt angle in degrees.
public double KMLOrientationTiltAngleRadians { get; }

ModelBasePoint

#Since v5.0
Corresponding model point in model coordinates.
public Point3d ModelBasePoint { get; set; }

ModelEast

#Since v5.0
Earth directions in model coordinates.
public Vector3d ModelEast { get; set; }

ModelNorth

#Since v5.0
Earth directions in model coordinates.
public Vector3d ModelNorth { get; set; }

Name

#Since v5.0
Gets or sets the short form of the identifying information about this location.
public string Name { get; set; }

Methods

Dispose

#Since v5.0
Actively reclaims unmanaged resources that this instance uses.
public void Dispose()

Dispose

#
For derived class implementers.

This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.

protected virtual void Dispose(
disposing
true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer.
)

EarthLocationIsSet

#Since v6.0
Checks if the earth location is set or not.
public bool EarthLocationIsSet()
Boolean value, true if set else false

GetEarthAnchorPlane

#Since v6.0
Returns the earth anchor plane
public Plane GetEarthAnchorPlane(
anchorNorth
)
A plane value.

GetModelCompass

#Since v5.0
Returns a plane in model coordinates whose X axis points East, Y axis points North and Z axis points Up. The origin is set to ModelBasepoint.
public Plane GetModelCompass()
A plane value. This might be invalid on error.

GetModelToEarthTransform

#Since v9.0
Gets a transformation from model coordinates to earth coordinates. This transformation assumes the model is small enough that the curvature of the earth can be ignored.
public Transform GetModelToEarthTransform(
modelUnits
The model length unit.
)
Remarks: If M is a point in model coordinates and E = model_to_earth*M, then E.x = latitude in decimal degrees E.y = longitude in decimal degrees E.z = elevation in meters above mean sea level Because the earth is not flat, there is a small amount of error when using a linear transformation to calculate oblate spherical coordinates. This error is small. If the distance from P to M is d meters, then the approximation error is latitude error <= longitude error <= elevation error <= 6379000*((1 + (d/6356000)^2)-1) meters In particular, if every point in the model is within 1000 meters of the m_model_basepoint, then the maximum approximation errors are latitude error <= longitude error <= elevation error <= 8 centimeters.
Transform on success. Invalid Transform on error.

GetModelToEarthTransform

#Since v5.0 Obsolete v9.0
Gets a transformation from model coordinates to earth coordinates. This transformation assumes the model is small enough that the curvature of the earth can be ignored.
public Transform GetModelToEarthTransform(
modelUnitSystem
The model unit system.
)
Remarks: If M is a point in model coordinates and E = model_to_earth*M, then E.x = latitude in decimal degrees E.y = longitude in decimal degrees E.z = elevation in meters above mean sea level Because the earth is not flat, there is a small amount of error when using a linear transformation to calculate oblate spherical coordinates. This error is small. If the distance from P to M is d meters, then the approximation error is latitude error <= longitude error <= elevation error <= 6379000*((1 + (d/6356000)^2)-1) meters In particular, if every point in the model is within 1000 meters of the m_model_basepoint, then the maximum approximation errors are latitude error <= longitude error <= elevation error <= 8 centimeters.
Transform on success. Invalid Transform on error.

ModelLocationIsSet

#Since v8.5
Checks if the model location is set or not.
public bool ModelLocationIsSet()
Boolean value, true if set else false