[mxcad_3d API Document](../README. md)/Mx3dGeomConic
Class: Mx3dGeomConic 
The class representing geometric quadratic curves (conic sections) inherits from Mx3dGeomCurve.
Hierarchy 
- ↳ - Mx3dGeomConic
Table of contents 
Constructors 
Methods 
- Axis
- Continuity
- DynCast
- DynamicType
- IsCN
- Location
- MirrorByAxis
- MirrorByCSYSR
- MirrorByPoint
- MirroredByAxis
- MirroredByCSYSR
- MirroredByPoint
- Period
- Position
- Reverse
- Reversed
- Rotate
- Rotated
- Scale
- Scaled
- SetAxis
- SetLocation
- SetPosition
- Transformed
- TranslateBy2Points
- TranslateByVec
- TranslatedBy2Points
- TranslatedByVec
- Value
- XAxis
- YAxis
Constructors 
constructor 
• new Mx3dGeomConic(p?)
Parameters 
| Name | Type | 
|---|---|
| p? | object | 
Overrides 
Methods 
Axis 
▸ Axis(): Mx3dGeAxis
Obtain the axis of the quadratic curve.
Returns 
Axis object.
Continuity 
▸ Continuity(): MxGAShapeEnum
Obtain the continuity of the quadratic curve.
Returns 
Continuity enumeration values.
DynCast 
▸ DynCast(theObject): Mx3dGeomConic
Parameters 
| Name | Type | 
|---|---|
| theObject | Mx3dGeomObject | 
Returns 
Inherited from 
DynamicType 
▸ DynamicType(): string
Return the dynamic type of the object.
Returns 
string
A dynamically typed string.
Overrides 
IsCN 
▸ IsCN(N): boolean
Check if the quadratic curve has continuity of the specified order.
Parameters 
| Name | Type | Description | 
|---|---|---|
| N | number | order | 
Returns 
boolean
If there is continuity of the specified order, return true; otherwise, return false.
Location 
▸ Location(): Mx3dGePoint
Obtain the position of the quadratic curve.
Returns 
Point object.
MirrorByAxis 
▸ MirrorByAxis(A1): void
Mirror transform geometric objects through axes.
Parameters 
| Name | Type | Description | 
|---|---|---|
| A1 | [Mx3dGeAxis] (Mx3dGeAxis. md) | Axis object | 
Returns 
void
Inherited from 
MirrorByCSYSR 
▸ MirrorByCSYSR(A2): void
Mirror transform geometric objects using a right-handed coordinate system.
Parameters 
| Name | Type | Description | 
|---|---|---|
| A2 | [Mx3dGeCSYSR] (Mx3dGeCSYSR. md) | Right hand coordinate system object | 
Returns 
void
Inherited from 
MirrorByPoint 
▸ MirrorByPoint(P): void
Mirror transform geometric objects through points.
Parameters 
| Name | Type | Description | 
|---|---|---|
| P | [Mx3dGePoint] (Mx3dGePoint. md) | Point object | 
Returns 
void
Inherited from 
MirroredByAxis 
▸ MirroredByAxis(A1): Mx3dGeomConic
Return the new geometric object transformed through axis mirroring.
Parameters 
| Name | Type | Description | 
|---|---|---|
| A1 | [Mx3dGeAxis] (Mx3dGeAxis. md) | Axis object | 
Returns 
New geometric objects.
Inherited from 
MirroredByCSYSR 
▸ MirroredByCSYSR(A2): Mx3dGeomConic
Return the new geometric object after mirror transformation through the right-handed coordinate system.
Parameters 
| Name | Type | Description | 
|---|---|---|
| A2 | [Mx3dGeCSYSR] (Mx3dGeCSYSR. md) | Right hand coordinate system object | 
Returns 
New geometric objects.
Inherited from 
MirroredByPoint 
▸ MirroredByPoint(P): Mx3dGeomConic
Return the new geometric object after point mirror transformation.
Parameters 
| Name | Type | Description | 
|---|---|---|
| P | [Mx3dGePoint] (Mx3dGePoint. md) | Point object | 
Returns 
New geometric objects.
Inherited from 
Period 
▸ Period(): number
Return the period of the curve.
Returns 
number
The period of the curve.
Inherited from 
Position 
▸ Position(): Mx3dGeCSYSR
Obtain the right-hand coordinate system of the quadratic curve.
Returns 
Right hand coordinate system object.
Reverse 
▸ Reverse(): void
Reverse the direction of the quadratic curve.
Returns 
void
Reversed 
▸ Reversed(): Mx3dGeomConic
Return the new geometric curve object in reverse.
Returns 
New geometric curve object.
Inherited from 
Rotate 
▸ Rotate(A1, Ang): void
Rotate geometric objects.
Parameters 
| Name | Type | Description | 
|---|---|---|
| A1 | [Mx3dGeAxis] (Mx3dGeAxis. md) | Axis object | 
| Ang | number | Rotation angle | 
Returns 
void
Inherited from 
Rotated 
▸ Rotated(A1, Ang): Mx3dGeomConic
Return the rotated new geometric object.
Parameters 
| Name | Type | Description | 
|---|---|---|
| A1 | [Mx3dGeAxis] (Mx3dGeAxis. md) | Axis object | 
| Ang | number | Rotation angle | 
Returns 
New geometric objects.
Inherited from 
Scale 
▸ Scale(P, S): void
Scale geometric objects.
Parameters 
| Name | Type | Description | 
|---|---|---|
| P | [Mx3dGePoint] (Mx3dGePoint. md) | Point object | 
| S | number | scaling ratio | 
Returns 
void
Inherited from 
Scaled 
▸ Scaled(P, S): Mx3dGeomConic
Return the scaled new geometric object.
Parameters 
| Name | Type | Description | 
|---|---|---|
| P | [Mx3dGePoint] (Mx3dGePoint. md) | Point object | 
| S | number | scaling ratio | 
Returns 
New geometric objects.
Inherited from 
SetAxis 
▸ SetAxis(theA1): void
Set the axis of the quadratic curve.
Parameters 
| Name | Type | Description | 
|---|---|---|
| TheA1 | [Mx3dGeAxis] (Mx3dGeAxis. md) | Axis object | 
Returns 
void
SetLocation 
▸ SetLocation(theP): void
Set the position of the quadratic curve.
Parameters 
| Name | Type | Description | 
|---|---|---|
| TheP | [Mx3dGePoint] (Mx3dGePoint. md) | Point object | 
Returns 
void
SetPosition 
▸ SetPosition(theA2): void
Set the right-hand coordinate system for the quadratic curve.
Parameters 
| Name | Type | Description | 
|---|---|---|
| TheA2 | [Mx3dGeCSYSR] (Mx3dGeCSYSR. md) | Right hand coordinate system object | 
Returns 
void
Transformed 
▸ Transformed(T): Mx3dGeomConic
Return the transformed new geometric object.
Parameters 
| Name | Type | Description | 
|---|---|---|
| T | [Mx3dGetStrf] (Mx3dGetStrf. md) | Transform the object | 
Returns 
New geometric objects.
Inherited from 
TranslateBy2Points 
▸ TranslateBy2Points(P1, P2): void
Translate geometric objects through two points.
Parameters 
| Name | Type | Description | 
|---|---|---|
| P1 | [Mx3dGePoint] (Mx3dGePoint. md) | Starting point object | 
| P2 | [Mx3dGePoint] (Mx3dGePoint. md) | End point object | 
Returns 
void
Inherited from 
Mx3dGeomCurve.TranslateBy2Points
TranslateByVec 
▸ TranslateByVec(V): void
Translate geometric objects through vectors.
Parameters 
| Name | Type | Description | 
|---|---|---|
| V | [Mx3dGeVec] (Mx3dGeVec. md) | Vector object | 
Returns 
void
Inherited from 
TranslatedBy2Points 
▸ TranslatedBy2Points(P1, P2): Mx3dGeomConic
Return the new geometric object after translating through two points.
Parameters 
| Name | Type | Description | 
|---|---|---|
| P1 | [Mx3dGePoint] (Mx3dGePoint. md) | Starting point object | 
| P2 | [Mx3dGePoint] (Mx3dGePoint. md) | End point object | 
Returns 
New geometric objects.
Inherited from 
Mx3dGeomCurve.TranslatedBy2Points
TranslatedByVec 
▸ TranslatedByVec(V): Mx3dGeomConic
Return the new geometric object after vector translation.
Parameters 
| Name | Type | Description | 
|---|---|---|
| V | [Mx3dGeVec] (Mx3dGeVec. md) | Vector object | 
Returns 
New geometric objects.
Inherited from 
Value 
▸ Value(U): Mx3dGePoint
Return the point at the given parameter U.
Parameters 
| Name | Type | Description | 
|---|---|---|
| The parameter value of 'U' | 'number' | 
Returns 
The point object at the given parameter.
Inherited from 
XAxis 
▸ XAxis(): Mx3dGeAxis
Obtain the X-axis of the quadratic curve.
Returns 
X-axis object.
YAxis 
▸ YAxis(): Mx3dGeAxis
Obtain the Y-axis of the quadratic curve.
Returns 
Y-axis object.