Show / Hide Table of Contents

Class GeneralCurve

A base implementation of ICurve

Inheritance
System.Object
IGeoObjectImpl
GeneralCurve
GeneralSweptCurve.FixedUCurve
Implements
IGeoObject
ILayer
IStyle
IOctTreeInsertable
System.IComparable
System.Runtime.Serialization.ISerializable
IFeedBack
System.ICloneable
IColorDef
ICurve
ILineWidth
ILinePattern
Inherited Members
IGeoObjectImpl.isChanging
IGeoObjectImpl.MakeChange(IGeoObjectImpl, String)
IGeoObjectImpl.SetSerializationValue(String, Object)
IGeoObjectImpl.UniqueId
IGeoObjectImpl.WillChangeEvent
IGeoObjectImpl.DidChangeEvent
IGeoObjectImpl.FeedBackChangedEvent
IGeoObjectImpl.FireWillChange(GeoObjectChange)
IGeoObjectImpl.FireDidChange(GeoObjectChange)
IGeoObjectImpl.Modify(ModOp)
IGeoObjectImpl.ModifyInverse(ModOp)
IGeoObjectImpl.Clone()
IGeoObjectImpl.HasChildren()
IGeoObjectImpl.NumChildren
IGeoObjectImpl.Child(Int32)
IGeoObjectImpl.Owner
IGeoObjectImpl.IsAttributeUsed(Object)
IGeoObjectImpl.AttributeChanged(INamedAttribute)
IGeoObjectImpl.CopyGeometry(IGeoObject)
IGeoObjectImpl.CopyAttributes(IGeoObject)
IGeoObjectImpl.Attributes
IGeoObjectImpl.CustomAttributeKeys
IGeoObjectImpl.SetNamedAttribute(String, INamedAttribute)
IGeoObjectImpl.GetNamedAttribute(String)
IGeoObjectImpl.GetAttributeProperties(IFrame)
IGeoObjectImpl.UpdateAttributes(IAttributeListContainer)
IGeoObjectImpl.UserData
IGeoObjectImpl.isModifyingWithMouse
IGeoObjectImpl.ModifyWithMouse(Object, String, Boolean)
IGeoObjectImpl.FindSnapPoint(SnapPointFinder)
IGeoObjectImpl.HasValidData()
IGeoObjectImpl.PrePaintTo3D(IPaintTo3D)
IGeoObjectImpl.PaintTo3DList(IPaintTo3D, ICategorizedDislayLists)
IGeoObjectImpl.PreferredStyle
IGeoObjectImpl.OwnedItems
IGeoObjectImpl.IsVisible
IGeoObjectImpl.PropagateAttributes(Layer, ColorDef)
IGeoObjectImpl.Decompose()
IGeoObjectImpl.Actuator
IGeoObjectImpl.SetColorDef(ColorDef, ColorDef)
IGeoObjectImpl.Layer
IGeoObjectImpl.Style
IGeoObjectImpl.StyleIsValid
IGeoObjectImpl.GetExtent(IGeoObject, Projection, Boolean)
IGeoObjectImpl.IsOwnedByBlockRef(IGeoObject)
IGeoObjectImpl.ChangingUserData(IGeoObject, String, Object)
IGeoObjectImpl.ChangingUserData(IGeoObject, String, Object, Boolean)
IGeoObjectImpl.ICloneable.Clone()
IGeoObjectImpl.IComparable.CompareTo(Object)
IGeoObjectImpl.GetAdditionalContextMenueEvent
IGeoObjectImpl.IFeedBack.GetExtent()
IGeoObjectImpl.JsonGetObjectData(IJsonWriteData)
IGeoObjectImpl.JsonSetObjectData(IJsonReadData)
IGeoObjectImpl.JsonSerializationDone()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability.GeoObject
Assembly: CADability.dll
Syntax
public abstract class GeneralCurve : IGeoObjectImpl, IGeoObject, ILayer, IStyle, IOctTreeInsertable, IComparable, ISerializable, IFeedBack, ICloneable, IColorDef, ICurve, ILineWidth, ILinePattern

Constructors

| Improve this Doc View Source

GeneralCurve()

Declaration
protected GeneralCurve()
| Improve this Doc View Source

GeneralCurve(SerializationInfo, StreamingContext)

Constructor required by deserialization

Declaration
protected GeneralCurve(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

SerializationInfo

System.Runtime.Serialization.StreamingContext context

StreamingContext

Fields

| Improve this Doc View Source

Constructor

Declaration
public static GeneralCurve.ConstructionDelegate Constructor
Field Value
Type Description
GeneralCurve.ConstructionDelegate

Properties

| Improve this Doc View Source

ColorDef

Declaration
public ColorDef ColorDef { get; set; }
Property Value
Type Description
ColorDef
| Improve this Doc View Source

Description

Declaration
public override string Description { get; }
Property Value
Type Description
System.String
Overrides
IGeoObjectImpl.Description
| Improve this Doc View Source

EndDirection

Declaration
public virtual GeoVector EndDirection { get; }
Property Value
Type Description
GeoVector
| Improve this Doc View Source

EndPoint

Declaration
public virtual GeoPoint EndPoint { get; set; }
Property Value
Type Description
GeoPoint
| Improve this Doc View Source

IsClosed

Declaration
public virtual bool IsClosed { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsComposed

Declaration
public virtual bool IsComposed { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsSingular

Declaration
public virtual bool IsSingular { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Length

Declaration
public virtual double Length { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

LinePattern

Declaration
public LinePattern LinePattern { get; set; }
Property Value
Type Description
LinePattern
| Improve this Doc View Source

LineWidth

Declaration
public LineWidth LineWidth { get; set; }
Property Value
Type Description
LineWidth
| Improve this Doc View Source

StartDirection

Declaration
public virtual GeoVector StartDirection { get; }
Property Value
Type Description
GeoVector
| Improve this Doc View Source

StartPoint

Declaration
public virtual GeoPoint StartPoint { get; set; }
Property Value
Type Description
GeoPoint
| Improve this Doc View Source

SubCurves

Declaration
public virtual ICurve[] SubCurves { get; }
Property Value
Type Description
ICurve[]

Methods

| Improve this Doc View Source

Approximate(Boolean, Double)

Implements Approximate(Boolean, Double)

Declaration
public virtual ICurve Approximate(bool linesOnly, double maxError)
Parameters
Type Name Description
System.Boolean linesOnly
System.Double maxError
Returns
Type Description
ICurve
| Improve this Doc View Source

CloneModified(ModOp)

Implements CloneModified(ModOp)

Declaration
public virtual ICurve CloneModified(ModOp m)
Parameters
Type Name Description
ModOp m
Returns
Type Description
ICurve
| Improve this Doc View Source

DirectionAt(Double)

Implements DirectionAt(Double)

Declaration
public abstract GeoVector DirectionAt(double Position)
Parameters
Type Name Description
System.Double Position
Returns
Type Description
GeoVector
| Improve this Doc View Source

DistanceTo(GeoPoint)

Implements DistanceTo(GeoPoint)

Declaration
public virtual double DistanceTo(GeoPoint p)
Parameters
Type Name Description
GeoPoint p
Returns
Type Description
System.Double
| Improve this Doc View Source

GetBasePoints()

Declaration
protected abstract double[] GetBasePoints()
Returns
Type Description
System.Double[]
| Improve this Doc View Source

GetBoundingCube()

Overrides GetBoundingCube()

Declaration
public override BoundingCube GetBoundingCube()
Returns
Type Description
BoundingCube
Overrides
IGeoObjectImpl.GetBoundingCube()
| Improve this Doc View Source

GetExtent(Projection, ExtentPrecision)

Overrides GetExtent(Projection, ExtentPrecision)

Declaration
public override BoundingRect GetExtent(Projection projection, ExtentPrecision extentPrecision)
Parameters
Type Name Description
Projection projection
ExtentPrecision extentPrecision
Returns
Type Description
BoundingRect
Overrides
IGeoObjectImpl.GetExtent(Projection, ExtentPrecision)
| Improve this Doc View Source

GetExtent(Double)

Overrides GetExtent(Double)

Declaration
public override BoundingCube GetExtent(double precision)
Parameters
Type Name Description
System.Double precision
Returns
Type Description
BoundingCube
Overrides
IGeoObjectImpl.GetExtent(Double)
| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

Implements System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The System.Runtime.Serialization.SerializationInfo to populate with data.

System.Runtime.Serialization.StreamingContext context

The destination (System.Runtime.Serialization.StreamingContext) for this serialization.

Overrides
IGeoObjectImpl.GetObjectData(SerializationInfo, StreamingContext)
| Improve this Doc View Source

GetPlanarState()

Implements GetPlanarState()

Declaration
public virtual PlanarState GetPlanarState()
Returns
Type Description
PlanarState
| Improve this Doc View Source

GetPlane()

Implements GetPlane()

Declaration
public virtual Plane GetPlane()
Returns
Type Description
Plane
| Improve this Doc View Source

GetProjectedCurve(Plane)

Implements GetProjectedCurve(Plane)

Declaration
public virtual ICurve2D GetProjectedCurve(Plane p)
Parameters
Type Name Description
Plane p
Returns
Type Description
ICurve2D
| Improve this Doc View Source

GetQuadTreeItem(Projection, ExtentPrecision)

Overrides GetQuadTreeItem(Projection, ExtentPrecision)

Declaration
public override IQuadTreeInsertableZ GetQuadTreeItem(Projection projection, ExtentPrecision extentPrecision)
Parameters
Type Name Description
Projection projection
ExtentPrecision extentPrecision
Returns
Type Description
IQuadTreeInsertableZ
Overrides
IGeoObjectImpl.GetQuadTreeItem(Projection, ExtentPrecision)
| Improve this Doc View Source

GetSelfIntersections()

Implements GetSelfIntersections()

Declaration
public virtual double[] GetSelfIntersections()
Returns
Type Description
System.Double[]
| Improve this Doc View Source

GetShowProperties(IFrame)

Overrides GetShowProperties(IFrame)

Declaration
public override IShowProperty GetShowProperties(IFrame Frame)
Parameters
Type Name Description
IFrame Frame
Returns
Type Description
IShowProperty
Overrides
IGeoObjectImpl.GetShowProperties(IFrame)
| Improve this Doc View Source

HitTest(ref BoundingCube, Double)

Overrides HitTest(ref BoundingCube, Double)

Declaration
public override bool HitTest(ref BoundingCube cube, double precision)
Parameters
Type Name Description
BoundingCube cube
System.Double precision
Returns
Type Description
System.Boolean
Overrides
IGeoObjectImpl.HitTest(ref BoundingCube, Double)
| Improve this Doc View Source

HitTest(Projection, BoundingRect, Boolean)

Overrides HitTest(Projection, BoundingRect, Boolean)

Declaration
public override bool HitTest(Projection projection, BoundingRect rect, bool onlyInside)
Parameters
Type Name Description
Projection projection
BoundingRect rect
System.Boolean onlyInside
Returns
Type Description
System.Boolean
Overrides
IGeoObjectImpl.HitTest(Projection, BoundingRect, Boolean)
| Improve this Doc View Source

HitTest(Projection.PickArea, Boolean)

Overrides HitTest(Projection.PickArea, Boolean)

Declaration
public override bool HitTest(Projection.PickArea area, bool onlyInside)
Parameters
Type Name Description
Projection.PickArea area
System.Boolean onlyInside
Returns
Type Description
System.Boolean
Overrides
IGeoObjectImpl.HitTest(Projection.PickArea, Boolean)
| Improve this Doc View Source

InvalidateSecondaryData()

Declaration
protected virtual void InvalidateSecondaryData()
| Improve this Doc View Source

IsInPlane(Plane)

Implements IsInPlane(Plane)

Declaration
public virtual bool IsInPlane(Plane p)
Parameters
Type Name Description
Plane p
Returns
Type Description
System.Boolean
| Improve this Doc View Source

MakeTetraederHull()

Declaration
protected void MakeTetraederHull()
| Improve this Doc View Source

PaintTo3D(IPaintTo3D)

Overrides PaintTo3D(IPaintTo3D)

Declaration
public override void PaintTo3D(IPaintTo3D paintTo3D)
Parameters
Type Name Description
IPaintTo3D paintTo3D
Overrides
IGeoObjectImpl.PaintTo3D(IPaintTo3D)
| Improve this Doc View Source

ParameterToPosition(Double)

Declaration
public virtual double ParameterToPosition(double parameter)
Parameters
Type Name Description
System.Double parameter
Returns
Type Description
System.Double
| Improve this Doc View Source

PointAt(Double)

Implements PointAt(Double)

Declaration
public abstract GeoPoint PointAt(double Position)
Parameters
Type Name Description
System.Double Position
Returns
Type Description
GeoPoint
| Improve this Doc View Source

Position(GeoPoint, GeoVector, Double)

Overrides Position(GeoPoint, GeoVector, Double)

Declaration
public override double Position(GeoPoint fromHere, GeoVector direction, double precision)
Parameters
Type Name Description
GeoPoint fromHere
GeoVector direction
System.Double precision
Returns
Type Description
System.Double
Overrides
IGeoObjectImpl.Position(GeoPoint, GeoVector, Double)
| Improve this Doc View Source

PositionAtLength(Double)

Implements PositionAtLength(Double)

Declaration
public virtual double PositionAtLength(double position)
Parameters
Type Name Description
System.Double position
Returns
Type Description
System.Double
| Improve this Doc View Source

PositionOf(GeoPoint)

Implements PositionOf(GeoPoint)

Declaration
public virtual double PositionOf(GeoPoint p)
Parameters
Type Name Description
GeoPoint p
Returns
Type Description
System.Double
| Improve this Doc View Source

PositionOf(GeoPoint, Plane)

Implements PositionOf(GeoPoint, Plane)

Declaration
public virtual double PositionOf(GeoPoint p, Plane pl)
Parameters
Type Name Description
GeoPoint p
Plane pl
Returns
Type Description
System.Double
| Improve this Doc View Source

PositionOf(GeoPoint, Double)

Implements PositionOf(GeoPoint, Double)

Declaration
public virtual double PositionOf(GeoPoint p, double prefer)
Parameters
Type Name Description
GeoPoint p
System.Double prefer
Returns
Type Description
System.Double
| Improve this Doc View Source

PositionToParameter(Double)

Declaration
public virtual double PositionToParameter(double position)
Parameters
Type Name Description
System.Double position
Returns
Type Description
System.Double
| Improve this Doc View Source

PrepareDisplayList(Double)

Overrides PrepareDisplayList(Double)

Declaration
public override void PrepareDisplayList(double precision)
Parameters
Type Name Description
System.Double precision
Overrides
IGeoObjectImpl.PrepareDisplayList(Double)
| Improve this Doc View Source

Reverse()

Implements Reverse()

Declaration
public abstract void Reverse()
| Improve this Doc View Source

SameGeometry(ICurve, Double)

Implements SameGeometry(ICurve, Double)

Declaration
public virtual bool SameGeometry(ICurve other, double precision)
Parameters
Type Name Description
ICurve other
System.Double precision
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Split(Double)

Implements Split(Double)

Declaration
public abstract ICurve[] Split(double Position)
Parameters
Type Name Description
System.Double Position
Returns
Type Description
ICurve[]
| Improve this Doc View Source

Split(Double, Double)

Implements Split(Double, Double)

Declaration
public virtual ICurve[] Split(double Position1, double Position2)
Parameters
Type Name Description
System.Double Position1
System.Double Position2
Returns
Type Description
ICurve[]
| Improve this Doc View Source

TangentPosition(GeoVector)

Implements TangentPosition(GeoVector)

Declaration
public virtual double[] TangentPosition(GeoVector direction)
Parameters
Type Name Description
GeoVector direction
Returns
Type Description
System.Double[]
| Improve this Doc View Source

Trim(Double, Double)

Implements Trim(Double, Double)

Declaration
public abstract void Trim(double StartPos, double EndPos)
Parameters
Type Name Description
System.Double StartPos
System.Double EndPos
| Improve this Doc View Source

TryPointDeriv2At(Double, out GeoPoint, out GeoVector, out GeoVector)

Implements TryPointDeriv2At(Double, out GeoPoint, out GeoVector, out GeoVector)

Declaration
public virtual bool TryPointDeriv2At(double position, out GeoPoint point, out GeoVector deriv, out GeoVector deriv2)
Parameters
Type Name Description
System.Double position
GeoPoint point
GeoVector deriv
GeoVector deriv2
Returns
Type Description
System.Boolean

Explicit Interface Implementations

| Improve this Doc View Source

IColorDef.SetTopLevel(ColorDef)

Declaration
void IColorDef.SetTopLevel(ColorDef newValue)
Parameters
Type Name Description
ColorDef newValue
| Improve this Doc View Source

IColorDef.SetTopLevel(ColorDef, Boolean)

Declaration
void IColorDef.SetTopLevel(ColorDef newValue, bool overwriteChildNullColor)
Parameters
Type Name Description
ColorDef newValue
System.Boolean overwriteChildNullColor
| Improve this Doc View Source

ICurve.Clone()

Declaration
ICurve ICurve.Clone()
Returns
Type Description
ICurve
| Improve this Doc View Source

ICurve.GetExtent()

Declaration
BoundingCube ICurve.GetExtent()
Returns
Type Description
BoundingCube
| Improve this Doc View Source

ICurve.GetExtrema(GeoVector)

Declaration
double[] ICurve.GetExtrema(GeoVector direction)
Parameters
Type Name Description
GeoVector direction
Returns
Type Description
System.Double[]
| Improve this Doc View Source

ICurve.GetPlaneIntersection(Plane)

Declaration
double[] ICurve.GetPlaneIntersection(Plane plane)
Parameters
Type Name Description
Plane plane
Returns
Type Description
System.Double[]
| Improve this Doc View Source

ICurve.GetSavePositions()

Declaration
double[] ICurve.GetSavePositions()
Returns
Type Description
System.Double[]
| Improve this Doc View Source

ICurve.HitTest(BoundingCube)

Declaration
bool ICurve.HitTest(BoundingCube cube)
Parameters
Type Name Description
BoundingCube cube
Returns
Type Description
System.Boolean

Implements

IGeoObject
ILayer
IStyle
IOctTreeInsertable
System.IComparable
System.Runtime.Serialization.ISerializable
IFeedBack
System.ICloneable
IColorDef
ICurve
ILineWidth
ILinePattern
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX