Description
Configures the Vector Geometry Tool 3D
visualization.
Object Model
Public Properties
AngleSizeScale |
The angle size scale.
Dimensionless. |
ArrowPtSize |
The arrow point size.
Dimensionless. |
RefCrdns |
Gets a collection that
manages the 3D VGT visualizations. |
ScaleRelativeToModel |
Controls whether to scale
the geometric elements relative to an object scale with the
object's model. |
VectorSizeScale |
The size scale of the
geometric elements. Dimensionless |
Example
Configure 3D vector
[C#] |
Copy Code
|
vector.RefCrdns.Add(AgEGeometricElemType.eVectorElem, ((IAgCrdn)m_Root.CentralBodies["Earth"].Vgt.Vectors["Moon"]).QualifiedPath);
vector.RefCrdns.Add(AgEGeometricElemType.eAxesElem, ((IAgCrdn)m_Root.CentralBodies["Moon"].Vgt.Vectors["Position"]).QualifiedPath);
vector.RefCrdns.Add(AgEGeometricElemType.eVectorElem, ((IAgCrdn)m_Root.CentralBodies["Sun"].Vgt.Vectors["Velocity(Barycenter)"]).QualifiedPath);
IAgVORefCrdnVector body = vector.RefCrdns.GetCrdnByName(AgEGeometricElemType.eAxesElem, ((IAgCrdn)m_Root.CentralBodies["Earth"].Vgt.Vectors["Moon"]).QualifiedPath) as IAgVORefCrdnVector;
((IAgVORefCrdn)body).Color = Color.Yellow;
body.DrawAtCB = true;
body.Axes = "CentralBody/Earth Fixed Axes";
body.ArrowType = AgEArrowType.e3D;
vector.ScaleRelativeToModel = true;
vector.AngleSizeScale = 4.5;
vector.ArrowPtSize = 11.0;
|
|
Configure 3D vector
[Visual Basic .NET] |
Copy Code
|
vector.RefCrdns.Add(AgEGeometricElemType.eVectorElem,
DirectCast(m_Root.CentralBodies("Earth").Vgt.Vectors("Moon"), IAgCrdn).QualifiedPath)
vector.RefCrdns.Add(AgEGeometricElemType.eAxesElem,
DirectCast(m_Root.CentralBodies("Moon").Vgt.Vectors("Position"), IAgCrdn).QualifiedPath)
vector.RefCrdns.Add(AgEGeometricElemType.eVectorElem,
DirectCast(m_Root.CentralBodies("Sun").Vgt.Vectors("Velocity(Barycenter)"),
IAgCrdn).QualifiedPath)
Dim body As IAgVORefCrdnVector =
TryCast(vector.RefCrdns.GetCrdnByName(AgEGeometricElemType.eAxesElem,
DirectCast(m_Root.CentralBodies("Earth").Vgt.Vectors("Moon"), IAgCrdn).QualifiedPath),
IAgVORefCrdnVector)
DirectCast(body, IAgVORefCrdn).Color = Color.Yellow
body.DrawAtCB = True
body.Axes = "CentralBody/Earth Fixed
Axes"
body.ArrowType = AgEArrowType.e3D
vector.ScaleRelativeToModel = True
vector.AngleSizeScale = 4.5
vector.ArrowPtSize = 11
|
|