Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
.NET
»
Topic:
Arc/Curve Data
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Arc/Curve Data (Read 1820 times)
0 Members and 1 Guest are viewing this topic.
nobody
Swamp Rat
Posts: 861
.net stuff
Arc/Curve Data
«
on:
August 25, 2015, 10:25:07 PM »
Do arcs have tangent / delta properties or do they need to be calc'd out? If so anyone have an example?
Logged
Kerry
Mesozoic relic
Seagull
Posts: 11654
class keyThumper<T>:ILazy<T>
Re: Arc/Curve Data
«
Reply #1 on:
August 25, 2015, 11:26:43 PM »
Arc.TotalAngle
perhaps ...
Code - C#:
[Select]
// Properties
public
Point3d Center
{
[
Category
(
"Geometry"
)
]
get
;
set
;
}
[
UnitType
(
UnitType
.
AngleNotTransformed
)
]
public
double
EndAngle
{
[
Category
(
"Geometry"
)
]
get
;
set
;
}
[
UnitType
(
UnitType
.
Distance
)
]
public
double
Length
{
[
Category
(
"Geometry"
)
]
get
;
}
public
Vector3d Normal
{
[
Category
(
"Geometry"
)
]
get
;
set
;
}
[
UnitType
(
UnitType
.
Distance
)
]
public
double
Radius
{
[
Category
(
"Geometry"
)
]
get
;
set
;
}
[
UnitType
(
UnitType
.
AngleNotTransformed
)
]
public
double
StartAngle
{
[
Category
(
"Geometry"
)
]
get
;
set
;
}
[
UnitType
(
UnitType
.
Distance
)
]
public
double
Thickness
{
[
Category
(
"General"
)
]
get
;
set
;
}
[
UnitType
(
UnitType
.
AngleNotTransformed
)
]
public
double
TotalAngle
{
[
Category
(
"Geometry"
)
]
get
;
}
Logged
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.
nobody
Swamp Rat
Posts: 861
.net stuff
Re: Arc/Curve Data
«
Reply #2 on:
August 25, 2015, 11:33:33 PM »
Looks like that will work for the delta. Thank you!
Logged
Kerry
Mesozoic relic
Seagull
Posts: 11654
class keyThumper<T>:ILazy<T>
Re: Arc/Curve Data
«
Reply #3 on:
August 25, 2015, 11:40:41 PM »
I'm sure it will.
and Tangent would be rad * tan (delta*0.5) I bet.
added:
Though I s'pose it depends on your usage of the word Tangent.
I assumed:
http://autocad.wikia.com/wiki/File:Arc_relationships.png
«
Last Edit: August 25, 2015, 11:52:53 PM by Kerry
»
Logged
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
.NET
»
Topic:
Arc/Curve Data