CADability dotNET
The Path type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add |
Adds a curve to this path. It is checked whether the curve to add can be connected
to the start or endpoint of this path. If necessary the curve will be reversed. If
it cannot be connected false will be returned.
| |
BestCyclicalPosition |
Assumes both this and toThis are closed Paths with the same number of segments. Changes this Path
to start with the segment where the distance of corresponding vertices is minimal. The geometry of
this curve will not be changed
| |
ChangeCyclicalStart | ||
Clear |
Removes all subcurves, the Path will be empty. Use this before modifying
contained objects of this path because it is not allowed to mdify an object
in a path in a way that would compromise the consitence of the path
| |
Clone |
Overrides Clone()()()() (Overrides IGeoObjectImpl..::..Clone()()()().) | |
Construct | ||
CopyGeometry |
Overrides CopyGeometry(IGeoObject) (Overrides IGeoObjectImpl..::..CopyGeometry(IGeoObject).) | |
CreateFromModel(ICurve, Model, Boolean) |
Returns a Path containing the curve BeginWith and other curves from the Model.
The curve BeginWith is checked at both ends to find connected objects. The search is stopped
when there are nore more connected objects. The curves are clones and are tagged with UserData objects
with the name key "CADability.Path.Original" and the original object as the value.
If flatten is true, UserData will be lost.
| |
CreateFromModel(ICurve, Model, Projection, Boolean) |
Returns a Path containing the curve BeginWith and other curves from the projectedModel.
The curve BeginWith is checked at both ends to find connected objects. The search is stopped
if there are nore more connected objects. The curves are clones and are tagged with UserData objects
with the name key "CADability.Path.Original" and the original object as the value.
If flatten is true, UserData will be lost.
| |
Curve |
Returns the i-th curve of the path. Do not modify this curve or the path
will be in an invalid state. For the number of curves see CurveCount.
| |
Decompose |
Overrides Decompose()()()() (Overrides IGeoObjectImpl..::..Decompose()()()().) | |
DirectionAt |
Implements DirectionAt(Double) | |
FindSnapPoint |
Overrides FindSnapPoint(SnapPointFinder) (Overrides IGeoObjectImpl..::..FindSnapPoint(SnapPointFinder).) | |
Flatten |
Flattens this path. All subcurves that are composed of simple curves
are decomposed into simpler curves (e.g. a polyline is decomposed into lines)
| |
Get2DRepresentation | (Overrides IGeoObjectImpl..::..Get2DRepresentation(Projection, GDIResources).) | |
GetBoundingCube |
Overrides GetBoundingCube()()()() (Overrides IGeoObjectImpl..::..GetBoundingCube()()()().) | |
GetExtent |
Overrides GetExtent(Double) (Overrides IGeoObjectImpl..::..GetExtent(Double).) | |
GetObjectData |
Implements ISerializable:GetObjectData
(Overrides IGeoObjectImpl..::..GetObjectData(SerializationInfo, StreamingContext).) | |
GetPlanarState |
Implements GetPlanarState()()()() | |
GetPlane |
Implements GetPlane()()()() | |
GetProjectedCurve |
Implements GetProjectedCurve(Plane) | |
GetQuadTreeItem | (Overrides IGeoObjectImpl..::..GetQuadTreeItem(Projection, ExtentPrecision).) | |
GetShowProperties |
Overrides GetShowProperties(IFrame) (Overrides IGeoObjectImpl..::..GetShowProperties(IFrame).) | |
HitTest(BoundingCube%, Double) |
Overrides HitTest(BoundingCube%, Double) (Overrides IGeoObjectImpl..::..HitTest(BoundingCube%, Double).) | |
HitTest(Projection..::..PickArea, Boolean) | (Overrides IGeoObjectImpl..::..HitTest(Projection..::..PickArea, Boolean).) | |
HitTest(Projection, BoundingRect, Boolean) | (Overrides IGeoObjectImpl..::..HitTest(Projection, BoundingRect, Boolean).) | |
IndexAtLength |
Returns the index of the subcurve at the given position. Position must be between 0.0 and this.Length
| |
InsertPoint | ||
IsInPlane |
Implements IsInPlane(Plane) | |
Modify |
Overrides Modify(ModOp) (Overrides IGeoObjectImpl..::..Modify(ModOp).) | |
PaintTo3D |
Overrides PaintTo3D(IPaintTo3D) (Overrides IGeoObjectImpl..::..PaintTo3D(IPaintTo3D).) | |
PointAt |
Implements PointAt(Double) | |
Position |
Overrides Position(GeoPoint, GeoVector, Double) (Overrides IGeoObjectImpl..::..Position(GeoPoint, GeoVector, Double).) | |
PositionOf(GeoPoint) |
Implements PositionOf(GeoPoint) | |
PositionOf(GeoPoint, Plane) |
Implements PositionOf(GeoPoint, Plane) | |
PositionOf(GeoPoint, Double) |
Implements PositionOf(GeoPoint, Double) | |
PrepareDisplayList |
Overrides PrepareDisplayList(Double) (Overrides IGeoObjectImpl..::..PrepareDisplayList(Double).) | |
Remove | ||
Set(array<ICurve>[]()[][]) |
Makes this path represent the given list if all objects in that list are properly
oriented and connected. If the objects do not connect, false will be returned and this
path remains unchanged.
| |
Set(GeoObjectList, Boolean, Double) |
Takes a list of unsorted and unoriented geoobjects and tries to put them
together to a connected path. All previously contained segments are removed.
All objects of the list, that are used in this path will be removed
from their owner (see Owner). To avoid objects
bee removed from their owner (e.g. Model or Block)
use a list of cloned GeoObjects (CloneObjects()()()()).
| |
SetPoint | ||
Split(Double) |
Implements Split(Double) | |
Split(Double, Double) |
Implements Split(Double, Double) | |
Trim |
Implements Trim(Double, Double) | |
TryPointDeriv2At | ||
UpdateAttributes | (Overrides IGeoObjectImpl..::..UpdateAttributes(array<I2DRepresentation>[]()[][], Projection, GDIResources).) |