![]() |
VR-Forces 4.7 Class Documentation
|
Represents a feature geometry. More...

Static Public Member Functions | |
| static DtAsciiSerializable * | creator () |
Static Public Member Functions inherited from DtObjectDebugger< DtLuaFeatureGeometry > | |
| static DtObjectCounter::CounterType | ObjectCount () |
| static const DtObjectContainer * | ObjectContainer () |
Protected Member Functions | |
| DtLuaFeatureGeometry () | |
Protected Member Functions inherited from DtObjectDebugger< DtLuaFeatureGeometry > | |
| DtObjectDebugger () | |
| DtObjectDebugger (const DtObjectDebugger &) | |
| ~DtObjectDebugger () | |
Protected Attributes | |
| MAKVRinTerra::DtProj::CPtr | myLocalProj |
| MAKVRinTerra::DtFeatureGeometry | myGeometry |
Represents a feature geometry.
Implements the basic operations on 2D geometries like intersect, centroid, etc. Wrapper class around the DtFeatureGeometry class.
|
explicit |
|
explicit |
|
protected |
| MAKVRinTerra::DtFeatureGeometry DtLuaFeatureGeometry::geometry | ( | ) | const |
| std::string DtLuaFeatureGeometry::type | ( | ) | const |
| std::string DtLuaFeatureGeometry::description | ( | ) | const |
| std::string DtLuaFeatureGeometry::toWKT | ( | ) | const |
| bool DtLuaFeatureGeometry::isValid | ( | ) | const |
| bool DtLuaFeatureGeometry::isEmpty | ( | ) | const |
| bool DtLuaFeatureGeometry::isPoint | ( | ) | const |
| bool DtLuaFeatureGeometry::isPath | ( | ) | const |
| bool DtLuaFeatureGeometry::isArea | ( | ) | const |
| bool DtLuaFeatureGeometry::isUnknown | ( | ) | const |
| unsigned DtLuaFeatureGeometry::dimension | ( | ) | const |
| unsigned DtLuaFeatureGeometry::numberOfPoints | ( | ) | const |
| unsigned DtLuaFeatureGeometry::numberOfGeometries | ( | ) | const |
| DtLuaFeatureGeometry DtLuaFeatureGeometry::simplify | ( | double | tolerance | ) | const |
| std::vector<DtLocation3D> DtLuaFeatureGeometry::points | ( | ) | const |
| std::vector<DtLocation3D> DtLuaFeatureGeometry::pointsWithHeight | ( | ) | const |
| std::vector<DtLocation3D> DtLuaFeatureGeometry::pointsWithoutHeight | ( | ) | const |
| DtLocation3D DtLuaFeatureGeometry::singlePointWithHeight | ( | bool & | valid | ) | const |
| std::vector<DtLuaFeatureGeometry> DtLuaFeatureGeometry::subGeometries | ( | ) | const |
| bool DtLuaFeatureGeometry::equals | ( | DtLuaFeatureGeometry | g | ) | const |
| bool DtLuaFeatureGeometry::intersects | ( | DtLuaFeatureGeometry | g | ) | const |
| bool DtLuaFeatureGeometry::overlaps | ( | DtLuaFeatureGeometry | g | ) | const |
| bool DtLuaFeatureGeometry::crosses | ( | DtLuaFeatureGeometry | g | ) | const |
| bool DtLuaFeatureGeometry::covers | ( | DtLuaFeatureGeometry | g | ) | const |
| bool DtLuaFeatureGeometry::within | ( | DtLuaFeatureGeometry | g | ) | const |
| bool DtLuaFeatureGeometry::touches | ( | DtLuaFeatureGeometry | g | ) | const |
| bool DtLuaFeatureGeometry::contains | ( | DtLuaFeatureGeometry | g | ) | const |
| DtLuaFeatureGeometry DtLuaFeatureGeometry::extent | ( | ) | const |
| double DtLuaFeatureGeometry::length | ( | ) | const |
| double DtLuaFeatureGeometry::area | ( | ) | const |
| DtLuaFeatureGeometry DtLuaFeatureGeometry::centroid | ( | ) | const |
| double DtLuaFeatureGeometry::distanceTo | ( | DtLuaFeatureGeometry | g | ) | const |
| DtLuaFeatureGeometry DtLuaFeatureGeometry::unionWith | ( | DtLuaFeatureGeometry | g | ) | const |
| DtLuaFeatureGeometry DtLuaFeatureGeometry::intersectionWith | ( | DtLuaFeatureGeometry | g | ) | const |
| DtLuaFeatureGeometry DtLuaFeatureGeometry::differenceWith | ( | DtLuaFeatureGeometry | g | ) | const |
| DtLuaFeatureGeometry DtLuaFeatureGeometry::buffer | ( | double | width | ) | const |
| DtLuaFeatureGeometry DtLuaFeatureGeometry::convexHull | ( | ) | const |
| DtLuaFeatureGeometry DtLuaFeatureGeometry::boundary | ( | ) | const |
| DtLuaFeatureGeometry DtLuaFeatureGeometry::closestPointTo | ( | DtLuaFeatureGeometry | g, |
| double & | distanceTo | ||
| ) | const |
| DtLuaFeatureGeometry DtLuaFeatureGeometry::asArea | ( | ) | const |
| void DtLuaFeatureGeometry::prepare | ( | ) |
|
static |
|
virtual |
This function is called right after the object is constructed during the deserialization process, but before deserialize() is called.
The Lua object deserializer will pass the address of the sim manager (DtSimManager) as the argument. This DtAsciiSerializable object can use the Sim Manager to get a VRF Object pointer from the object manager using the object name, for example.
Reimplemented from DtAsciiSerializable.
|
virtual |
Should return the string name of this object.
The object name should not be part of the serialization unless you want it to be, but you should take it into account when implementing both functions.
Implements DtAsciiSerializable.
|
virtual |
Inherited from DtAsciiSerializable. Returns a string serialized version of this class.
Implements DtAsciiSerializable.
Inherited from DtAsciiSerializable.
Returns true if it could fill its members with the data contained in the string. False otherwise.
Implements DtAsciiSerializable.
|
protected |
|
protected |