libMVRgdtf e5d999f
A library for GDTF and MVR
Loading...
Searching...
No Matches
MCCoordTypes.h File Reference
#include "Prefix/StdAfx.h"
#include <limits>
#include "BasicMath.X.h"

Go to the source code of this file.

Classes

class  VectorworksMVR::_WorldPt
class  VectorworksMVR::WorldPt
struct  VectorworksMVR::WorldRange
class  VectorworksMVR::_WorldRect
class  VectorworksMVR::WorldRect
struct  VectorworksMVR::FloatPt3
struct  VectorworksMVR::WorldCoordBase
struct  VectorworksMVR::_WorldPt3
struct  VectorworksMVR::WorldPt3
struct  VectorworksMVR::_WorldCube
class  VectorworksMVR::WorldCube
class  VectorworksMVR::_TransformMatrix
class  VectorworksMVR::TransformMatrix
struct  VectorworksMVR::TransformXMatrix
class  VectorworksMVR::CubeVerts
class  VectorworksMVR::Ray
struct  VectorworksMVR::Axis
class  VectorworksMVR::WorldRectVerts

Namespaces

namespace  VectorworksMVR

Macros

#define WORLDRECTISEMPTY(rect, assert)
#define WORLDCUBEISEMPTY(cube, assert)
#define kMaxCoord   kMaxOutOfRangeWorldCoord

Typedefs

typedef double VectorworksMVR::WorldCoord
typedef double VectorworksMVR::_WorldCoord
typedef double VectorworksMVR::WorldInches
typedef WorldCoord VectorworksMVR::WorldArea
typedef WorldCoord VectorworksMVR::WorldVolume
typedef WorldPt VectorworksMVR::Vector2
typedef WorldPt3 VectorworksMVR::Vector
typedef WorldPt3 VectorworksMVR::NormalVector
typedef WorldPt3 VectorworksMVR::WorldVector
typedef _WorldPt3 VectorworksMVR::_Vector
typedef WorldPt3 VectorworksMVR::ColorVector
typedef WorldPtVectorworksMVR::WorldPtPtr
typedef WorldPt3VectorworksMVR::WorldPt3Ptr
typedef VectorVectorworksMVR::VectorPtr
typedef WorldRectVectorworksMVR::WorldRectPtr
typedef WorldCubeVectorworksMVR::WorldCubePtr
typedef TransformMatrixVectorworksMVR::TransformMatrixPtr
typedef TransformXMatrixVectorworksMVR::TransformXMatrixPtr
typedef double VectorworksMVR::Degrees
typedef double VectorworksMVR::Radians
typedef double VectorworksMVR::QDDegrees
typedef double VectorworksMVR::QDRadians
typedef double VectorworksMVR::UnknownAngleType

Enumerations

enum  VectorworksMVR::EAssertStatus { VectorworksMVR::eAssert , VectorworksMVR::eDontAssert }
enum  VectorworksMVR::EEmptyKind { VectorworksMVR::eStandardValue , VectorworksMVR::eSpecialValue }
enum  { VectorworksMVR::kXIndex = 0 , VectorworksMVR::kYIndex = 1 , VectorworksMVR::kZIndex = 2 }
enum  VectorworksMVR::ECoordKind { VectorworksMVR::eNoUserOrigin , VectorworksMVR::eIncludeUserOriginX , VectorworksMVR::eIncludeUserOriginY , VectorworksMVR::eIncludeUserOrigin }
enum  VectorworksMVR::EAngleMeasure {
  VectorworksMVR::eAngleError , VectorworksMVR::eDegrees , VectorworksMVR::eMinutes , VectorworksMVR::eSeconds ,
  VectorworksMVR::eRadians , VectorworksMVR::eGrads
}

Functions

WorldCoord VectorworksMVR::InchesToWorldCoord (WorldInches inches)
double VectorworksMVR::WorldCoordToInches (WorldCoord coord)
Boolean VectorworksMVR::WorldCoordsAreNearlyEqual (WorldCoord n1, WorldCoord n2)
Boolean VectorworksMVR::WorldCoordIsNearlyZero (WorldCoord n)
Boolean VectorworksMVR::WorldCoordsAreNotNearlyEqual (WorldCoord n1, WorldCoord n2)
Boolean VectorworksMVR::WorldCoord1_GE_WorldCoord2 (WorldCoord n1, WorldCoord n2)
Boolean VectorworksMVR::WorldCoord1_GT_WorldCoord2 (WorldCoord n1, WorldCoord n2)
Boolean VectorworksMVR::WorldCoord1_LE_WorldCoord2 (WorldCoord n1, WorldCoord n2)
Boolean VectorworksMVR::WorldCoord1_LT_WorldCoord2 (WorldCoord n1, WorldCoord n2)
WorldCoord VectorworksMVR::WorldCoordBumpedHigher (WorldCoord n)
WorldCoord VectorworksMVR::WorldCoordBumpedLower (WorldCoord n)
Boolean VectorworksMVR::WorldCoordsAreRelativelyClose (const WorldCoord &n1, const WorldCoord &n2, const double &ratio=1e-7)
WorldCoord VectorworksMVR::CrossProductMagnitude (const WorldPt &a, const WorldPt &b)
WorldCoord VectorworksMVR::DotProduct (const WorldPt &a, const WorldPt &b)
WorldPt VectorworksMVR::operator* (const double scalar, const WorldPt thePt)
Boolean VectorworksMVR::WorldPtsAreRelativelyClose (WorldPt p1, WorldPt p2, double ratio=1e-7)
WorldRect VectorworksMVR::EmptyWorldRect ()
WorldPt3 VectorworksMVR::CrossProduct (const WorldPt3 &p1, const WorldPt3 &p2)
WorldCoord VectorworksMVR::DotProduct (const WorldPt3 &p1, const WorldPt3 &p2)
WorldPt3 VectorworksMVR::operator* (const double &scalar, const WorldPt3 &thePt)
WorldPt3 VectorworksMVR::operator* (const WorldPt3 &inPt, const double &inScalar)
Boolean VectorworksMVR::WorldPt3sAreRelativelyClose (const WorldPt3 &p1, const WorldPt3 &p2, const double &ratio=1e-7)
WorldCoord VectorworksMVR::DotProductX (const WorldPt3 &p)
WorldCoord VectorworksMVR::DotProductY (const WorldPt3 &p)
WorldCoord VectorworksMVR::DotProductZ (const WorldPt3 &p)
WorldCube VectorworksMVR::EmptyWorldCube ()
void GS_API VectorworksMVR::RotateWorldRect (const TransformMatrix &mat, const WorldRect &c, WorldRectVerts &verts)
short VectorworksMVR::LongToShort (Sint32 x)
Boolean VectorworksMVR::RadiansAreNearlyEqual (Radians angle1, Radians angle2)

Variables

const short VectorworksMVR::MaxInt = 32767
const short VectorworksMVR::kMaxShortInt = 32767
const Sint32 VectorworksMVR::MaxLongInt = INT32_MAX
const Sint32 VectorworksMVR::kMaxLongInt = INT32_MAX
const double VectorworksMVR::kWorldCoordsPerInch
const double VectorworksMVR::kInchesPerWorldCoord
const double VectorworksMVR::kWorldCoordsPerInch_Squared
const double VectorworksMVR::kDecimicronsPerInch
const double VectorworksMVR::kWorldCoordsPerDecimicron
const double VectorworksMVR::kWorldCoordsPerMM
const short VectorworksMVR::kMaximumTotalDigitsOfPrecision
const short VectorworksMVR::kMaximumFractionalDigitsOfPrecision
const double VectorworksMVR::kNearlyEqualEpsilonForWorldCoords = 1e-13
const double VectorworksMVR::kWorldCoordBumpEpsilon
const double VectorworksMVR::kNearlyEqualEpsilonForRadians
const double VectorworksMVR::kTypographicalPointsPerInch
const WorldCoord VectorworksMVR::kMaxLegalWorldCoord = 1.0E100
const WorldCoord VectorworksMVR::kMaxOutOfRangeWorldCoord = DBL_MAX
const WorldRect VectorworksMVR::kEmptyWorldRect

Macro Definition Documentation

◆ kMaxCoord

#define kMaxCoord   kMaxOutOfRangeWorldCoord

◆ WORLDCUBEISEMPTY

#define WORLDCUBEISEMPTY ( cube,
assert )
Value:
((cube.left > cube.right) || (cube.bottom > cube.top) || (cube.back > cube.front))

◆ WORLDRECTISEMPTY

#define WORLDRECTISEMPTY ( rect,
assert )
Value:
((rect.left > rect.right) || (rect.bottom > rect.top))