Skip to main content

OpenTD .NET8 reference 2025 R2

OpenTD.AcEllipse Class Reference

Last update: 16.07.2025

Client-side representation of an AutoCAD Ellipse entity in a TD instance. More...

Inheritance diagram for OpenTD.AcEllipse:
OpenTD.TdDbEntityDataOpenTD.DbObjectOpenTD.ITdDerivedOpenTD.OpenTDObjectOpenTD.IUpdatableOpenTD.IReassignable

Public Member Functions

 AcEllipse ()
 
override void Update ()
 Updates the TD entity with the latest client data.
 
override void CreateIn (ThermalDesktop td)
 Creates the TD entity in the specified TD instance.
 
void SetFrom (TdDbEntityData x)
 
void SetFrom (DbObject x)
 
void SetFrom (OpenTDObject x)
 
override string ToString ()
 
override void UpdateFromTD ()
 Updates the client-side instance with the latest data from the TD entity.
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
void UpdateIn (ThermalDesktop td)
 Updates the TD entity corresponding to this object in the specified TD instance, if possible.
 

Static Public Member Functions

static bool operator== (DbObject first, DbObject second)
 
static bool operator!= (DbObject first, DbObject second)
 

Protected Member Functions

string ToString (string Submodel, string Id, string Comment)
 
string ToString (string Submodel, int Id, string Comment)
 

Protected Attributes

ITdCommander TdProxy
 

Properties

Point3d Center [get, set]
 
double RadiusRatio [get, set]
 Major axis length / minor axis length. Must be between 1e-6 and 1.0.
 
Vector3d Normal [get, set]
 Must be perpendicular to MajorAxis.
 
Vector3d MajorAxis [get, set]
 Vector from the Ellipse's center point to its start point. The major axis vector's magnitude represents 1/2 the length of the major axis. Must be perpendicular to Normal.
 
Dimensional< AngleStartAngle [get, set]
 Measured from major axis.
 
Dimensional< AngleEndAngle [get, set]
 Measured from major axis.
 
string Layer [get, set]
 
int ColorIndex [get, set]
 Specifies a color. See the AutoCAD Layer Properties Manager for valid values.
 
string Handle [get, set]
 
string TypeName [get, set]
 

Detailed Description

Client-side representation of an AutoCAD Ellipse entity in a TD instance.

See also
OpenTD.ThermalDesktop

Constructor & Destructor Documentation

◆ AcEllipse()

OpenTD.AcEllipse.AcEllipse ( )
inline

Member Function Documentation

◆ CreateIn()

override void OpenTD.AcEllipse.CreateIn ( ThermalDesktop td)
inline

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ Equals()

override bool OpenTD.DbObject.Equals ( object obj)
inlineinherited

◆ GetHashCode()

override int OpenTD.DbObject.GetHashCode ( )
inlineinherited

◆ operator!=()

static bool OpenTD.DbObject.operator!= ( DbObject first,
DbObject second )
inlinestaticinherited

◆ operator==()

static bool OpenTD.DbObject.operator== ( DbObject first,
DbObject second )
inlinestaticinherited

◆ SetFrom() [1/3]

void OpenTD.DbObject.SetFrom ( DbObject x)
inlineinherited

◆ SetFrom() [2/3]

void OpenTD.OpenTDObject.SetFrom ( OpenTDObject x)
inlineinherited

◆ SetFrom() [3/3]

void OpenTD.TdDbEntityData.SetFrom ( TdDbEntityData x)
inlineinherited

◆ ToString() [1/3]

override string OpenTD.TdDbEntityData.ToString ( )
inlineinherited

◆ ToString() [2/3]

string OpenTD.TdDbEntityData.ToString ( string Submodel,
int Id,
string Comment )
inlineprotectedinherited

◆ ToString() [3/3]

string OpenTD.TdDbEntityData.ToString ( string Submodel,
string Id,
string Comment )
inlineprotectedinherited

◆ Update()

override void OpenTD.AcEllipse.Update ( )
inline

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

override void OpenTD.DbObject.UpdateFromTD ( )
inlineinherited

Updates the client-side instance with the latest data from the TD entity.

Implements OpenTD.IUpdatable.

◆ UpdateIn()

void OpenTD.OpenTDObject.UpdateIn ( ThermalDesktop td)
inlineinherited

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements OpenTD.IReassignable.

Member Data Documentation

◆ TdProxy

ITdCommander OpenTD.OpenTDObject.TdProxy
protectedinherited

Property Documentation

◆ Center

Point3d OpenTD.AcEllipse.Center
getset

◆ ColorIndex

int OpenTD.TdDbEntityData.ColorIndex
getsetinherited

Specifies a color. See the AutoCAD Layer Properties Manager for valid values.

◆ EndAngle

Dimensional<Angle> OpenTD.AcEllipse.EndAngle
getset

Measured from major axis.

◆ Handle

string OpenTD.DbObject.Handle
getsetinherited

◆ Layer

string OpenTD.TdDbEntityData.Layer
getsetinherited

◆ MajorAxis

Vector3d OpenTD.AcEllipse.MajorAxis
getset

Vector from the Ellipse's center point to its start point. The major axis vector's magnitude represents 1/2 the length of the major axis. Must be perpendicular to Normal.

◆ Normal

Vector3d OpenTD.AcEllipse.Normal
getset

Must be perpendicular to MajorAxis.

◆ RadiusRatio

double OpenTD.AcEllipse.RadiusRatio
getset

Major axis length / minor axis length. Must be between 1e-6 and 1.0.

◆ StartAngle

Dimensional<Angle> OpenTD.AcEllipse.StartAngle
getset

Measured from major axis.

◆ TypeName

string OpenTD.DbObject.TypeName
getsetinherited

The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/AcEllipse.cs

Connect with Ansys