The 3D Ellipse is a planer object.
This class provides 3D ellipse specific access methods.
This class represents the access methods that are specific to a 3D ellipse. They also allow setting of the various attributes.
- Deprecated
- Deprecated as of MapLink 11.1. Advised to use MapLink Earth SDK instead.
|
double | angularIncrement () const |
|
void | angularIncrement (double newValue) |
|
const TSL3DCoord & | centre () const |
|
void | centre (const TSL3DCoord &coord) |
|
bool | ENURotation () const |
|
void | ENURotation (bool newValue) |
|
bool | interpolate () const |
|
void | interpolate (bool newValue) |
|
double | xRadius () const |
|
void | xRadius (double newXRadius) |
|
double | xRotation () const |
|
void | xRotation (double newRotation) |
|
double | yRadius () const |
|
void | yRadius (double newYRadius) |
|
double | yRotation () const |
|
void | yRotation (double newRotation) |
|
double | zRotation () const |
|
void | zRotation (double newRotation) |
|
TSL3DBoundingBox | boundingBox (int surfaceID=-1) const |
|
void | boundingBox (TSL3DCoord &bottomLeft, TSL3DCoord &topRight, int surfaceID=-1) const |
|
TSL3DCoord | centroid () const |
|
TSL3DEntity * | clone () const |
|
double | distance (const TSL3DCoord &point, bool useRenderedExtent=true, int drawingSurfaceID=-1) const |
|
bool | equals (const TSL3DEntity *other) const |
|
void | move (const TSL3DCoord &location, const TSL3DCoord &reference) |
|
TSL3DEntitySet * | parent () |
|
const TSL3DEntitySet * | parent () const |
|
void | scale (double scaleParam, const TSL3DCoord *origin=0) |
|
void | scale (double scaleX, double scaleY, double scaleZ, const TSL3DCoord *origin=0) |
|
double | squareDistance (const TSL3DCoord &point, bool useRenderedExtent=true, int drawingSurfaceID=-1) const |
|
void | translate (double latitudeOffset, double longitudeOffset, double altitudeOffset) |
|
bool | addDataSet () |
|
bool | addDataSet (TSLDataHandler *toUseDataHandler) |
|
bool | clearRenderingAttributes () |
|
TSLDataSet * | dataSet () |
|
const TSLDataSet * | dataSet () const |
|
short | dataSourceID () const |
|
void | dataSourceID (short dataSourceID) |
|
bool | deleteDataSet () |
|
void | destroy () |
|
TSLEntityID | entityID () const |
|
void | entityID (TSLEntityID value) |
|
TSLFeatureID | featureID () const |
|
void | featureID (TSLFeatureID newValue) |
|
bool | getRendering (TSLRenderingAttributeInt attribute, int *result) const |
|
bool | getRendering (TSLRenderingAttributeDouble attribute, double *result) const |
|
bool | getRendering (TSLRenderingAttributeBool attribute, bool *result) const |
|
bool | getRendering (TSLRenderingAttributes &result) const |
|
TSL3DEntity * | is3DEntity () |
|
const TSL3DEntity * | is3DEntity () const |
|
TSLEntity * | isEntity () |
|
const TSLEntity * | isEntity () const |
|
bool | isOptimisedEntity () const |
|
void | name (const char *newValue) |
|
const char * | name () const |
|
void | releaseResources (int surfaceID) |
|
bool | setRendering (TSLRenderingAttributeInt attribute, int value) |
|
bool | setRendering (TSLRenderingAttributeDouble attribute, double value) |
|
bool | setRendering (TSLRenderingAttributeBool attribute, bool value) |
|
bool | setRendering (const TSLRenderingAttributes &attributes) |
|
void | sourceID (int value) |
|
int | sourceID () const |
|
TSLGeometryType | type () const |
|
void | version (TSLVersion value) |
|
TSLVersion | version () const |
|
bool TSL3DEllipse::ENURotation |
( |
| ) |
const |
Returns whether ENU rotation is used. ENU, standing for East, North and Up, determines how the rotation angles are interpreted.
If the ENURotation flag is set to true, then rotations are applied to the ellipse once it has been translated so that its plane is tangental to the earth's surface. In this case the x-axis is in the east direction, the y-axis is in the north direction and the z-axis is up, or the vector from the centre of the earth to the center point of the ellipse.
If the ENURotation flag is set to false, then rotations are applied to the ellipse in geocentric coordinate space. In this case the x-axis is the vector from the centre of the earth towards the geodetic location 0 degrees latitude and 0 degrees longitude, the y-axis is the vector from the centre of the earth towards the geodetic location 0 degrees latitude and 90 degrees longitude and the z-axis is the vector from the centre of the earth towards the north pole.
void TSL3DEllipse::ENURotation |
( |
bool | newValue | ) |
|
Sets whether ENU rotation is used. ENU, standing for East, North and Up, determines how the rotation angles are interpreted.
If the ENURotation flag is set to true, then rotations are applied to the ellipse once it has been translated so that its plane is tangental to the earth's surface. In this case the x-axis is in the east direction, the y-axis is in the north direction and the z-axis is up, or the vector from the centre of the earth to the center point of the ellipse.
If the ENURotation flag is set to false, then rotations are applied to the ellipse in geocentric coordinate space. In this case the x-axis is the vector from the centre of the earth towards the geodetic location 0 degrees latitude and 0 degrees longitude, the y-axis is the vector from the centre of the earth towards the geodetic location 0 degrees latitude and 90 degrees longitude and the z-axis is the vector from the centre of the earth towards the north pole.
- Parameters
-
newValue | The new value fro the ENURotation flag. |