Table of Contents

Namespace CADability.GeoObject

Classes

BRepOpWith

Command handler for the entries of the context menu of a Solid that apply a boolean operation to the solid and all other solids whose extent overlaps it: "MenuId.Solid.RemoveFromAll" subtracts the solid from the others, "MenuId.Solid.RemoveAll" subtracts the others from the solid, "MenuId.Solid.UniteWithAll" unites them all, "MenuId.Solid.IntersectWithAll" keeps the common part and "MenuId.Solid.SplitWithAll" splits the solids into the fragments made by their mutual intersections. The results replace the original solids in their owner (model or block) within a single undo frame. Created by the solid when its context menu is built.

BSpline

A BSpline is a smooth curve defined by a set of control points. It is implemented as a NURBS - non uniform rational b-spline.

BSplineException

Exception thrown when a B-spline computation fails. Currently only used by internal 2d spline computations; the public methods of BSpline report failure by returning false instead.

Block

A block as a geometric object: a collection of several IGeoObjects which is handled as a single object. The block owns its children (it is their IGeoObjectOwner); cloning the block creates copies of the children. A block has a reference point (RefPoint), which serves as the base point when the block is placed or moved, and may carry a name. Modifying the block modifies all contained objects.

BlockRef

A reference to a Block that is placed in the model with a modification (Insertion), comparable to a block insert in DXF. The referenced block is shared and not owned by the reference, so several references may show the same block at different positions. For display, hit testing, extent and Decompose() the reference lazily creates a flattened copy of the block transformed by the insertion, which is discarded whenever the block or the insertion changes.

ConicalSurface

A conical surface which implements ISurface. The surface represents a circular or elliptical cone. The u parameter always describes a circle or ellipse, the v parameter a Line.

ConicalSurfaceNP

Conical surface with a uv system (parametric space) which is not periodic and has no pole. The uv system correspond to a plane through the apex perpendicular to the axis which contains the projected cone to this plane. Disadvantage is numeric precision when the opening angle is very small. A solution would be an offset and a factor which only projects the "used area" of this cone to a standard ring

ConstructionLine

A construction line of conceptually infinite extent: either an infinite line in both directions (like the DXF XLINE entity) or a half-infinite ray starting at a base point (like the DXF RAY entity). CADability curves are always finite, so this object is displayed — and pickable, snappable and trimmable — as a very long finite segment. What distinguishes it from a plain Line is its extent behavior: GetBoundingCube() and the projected extent only report the BasePoint, so zoom-to-extents and the model extent ignore the (huge) displayed length, exactly as AutoCAD ignores XLINE/RAY entities when zooming to the drawing extents. GetExtent(double) keeps reporting the real segment so spatial searches (picking, snapping) work along the whole displayed line.

CurveException

Exception thrown by object implementing ICurve.

Curves

This class provides static methods concerning the interaction of two or more ICurve objects.

CylindricalSurface

A cylindrical surface which implements ISurface. The surface represents a circular or elliptical cylinder. The u parameter always describes a circle or ellipse, the v parameter a Line.

CylindricalSurfaceNP

A cylindrical surface, defined by a point (location), and axis (zAxis). The axis (zAxis) and the two vectors xAxis and yAxis build an orthogonal coordinate system. xAxis and yAxis have the same length, which define the radius of the cylinder. The length of the zAxis is the domain of the cylindrical surface. points outside this domain are defined, but not used. The 2d u/v system is defined by the plane through "location" which is spanned by xAxis and yAxis. For each point on the surface, there is a point in this plane, which is found by intersecting the line from (location-zAxis) to the surface point with the u/v plane. Thus all points of the domain on the surface are within an annulus with the cylinder radius and a hole of half the cylinder radius. The u/v system is not periodic and has no poles (except of the 2d origin, which is at the infinite end of the axis). When the orthogonal system of xAxis, yAxis and zAxis is right handed, the normal vectors point to the outside, otherwise they point to the inside. Circles, ellipses and lines in 3d correspond to circles, ellipses and lines in 2d. 3d ellipses with their center at (location-zAxis) degenerate to lines in 2d.

Dimension

The dimension object represents a dimensioning in a model and is a IGeoObject. To use a dimension object you must at least set the properties DimensionStyle, DimLineRef, DimLineDirection, and add two points with the AddPoint(GeoPoint) method. Example:

// assuming "project" is a reference to a Project
Dimension d = Dimension.Construct();
d.DimensionStyle = project.DimensionStyleList.Current;
d.DimLineRef = new GeoPoint(200, 200, 0);
d.DimLineDirection = GeoVector.XAxis;
d.AddPoint(new GeoPoint(100, 100, 0));
d.AddPoint(new GeoPoint(200, 100, 0));
d.AddPoint(new GeoPoint(300, 100, 0));
project.GetActiveModel().Add(d);
EdgeReference

A reference to a edge. This is mainly used as a UserData: the Clone method does not clone the edge but returns this object, so you won't have an infinite loop when the userdata of a edge refers to itself.

Ellipse

A circle, circular arc, ellipse or elliptical arc as a IGeoObject implementing ICurve. It is defined by a Plane, whose location is the centre and whose x and y directions are the directions of the axes, by the major and the minor radius (equal for a circle), and by a start parameter and a sweep parameter (angles in radians; a full circle or ellipse has a sweep of 2π, a negative sweep means clockwise). Create one with the static Construct() method and define it with one of the Set... methods, e.g. SetCirclePlaneCenterRadius(Plane, GeoPoint, double) or SetArc3Points(GeoPoint, GeoPoint, GeoPoint, Plane).

EllipseException

Exception thrown by Ellipse when a Set... method cannot define the curve from the given input (e.g. SetArc3Points(GeoPoint, GeoPoint, GeoPoint, Plane) with collinear points), when Radius is requested from an ellipse that is not a circle, or when the StartPoint or EndPoint of an arc is set to a point that does not allow an arc. ExceptionType tells which case occurred.

Face

A face is a finite piece of a surface. It is bounded by a SimpleShape in the 2-dimensional u/v space of the surface. A face is also a IGeoObject. The bounding curves of a face are implemented as Edges. If a face is contained in a Model it doesnt share its edges with other faces. If a face is part of a Shell (which maybe a part of a Solid) it shares some or all of its edges with other faces.

FaceReference

A reference to a face. This is mainly used as a UserData: the Clone method does not clon the face but returns this object, so you won't have an infinite loop when the userdata of a face refers to itself.

GeneralCurve

A base implementation of ICurve

GeneralCurveException

Thrown by GeneralCurve and derived curves when an operation is not possible on the curve, e.g. when the start or end point of a curve which is defined by other data is set, or when a HelicalCurve is given a null vector as axis direction.

GeoObjectChange

This class is used as a parameter in the ChangeDelegate event of IGeoObject (see WillChangeEvent).

GeoObjectException

Exception type thrown by GeoObjects

GeoObjectList

Simple list of GeoObjects (IGeoObject). Implemented as an ArrayList.

Hatch

A GeoObject that represents a flat (2d) shape filled by a HatchStyle. It also acts as a Block presenting e.g. the hatch lines as its containing child objects. To fully define a Hatch object you have to set these three properties: Plane, CompoundShape and HatchStyle. If you omit one of these properties you wont see the Hatch object as it is not fully defined. No defaults are assumed.

HelicalCurve

A helical curve (helix, screw line) with a constant radius and a constant pitch.

The curve is defined in the local coordinate system of a Plane: the origin of that plane is a point on the axis, the normal of the plane is the direction of the axis and the x-axis of the plane is the reference direction for the angle 0. In this local system the curve is

p(a) = (radius * cos(a), radius * sin(a), pitch * a / (2*PI))

where the angle a runs from StartParameter to StartParameter + SweepParameter while the position of the curve (as used by PointAt(double)) runs from 0 to 1. A positive Pitch yields a right-handed helix, a negative one a left-handed helix. With a pitch of 0 the curve degenerates to a circular arc, with a radius of 0 it degenerates to a straight line along the axis.

HelicalSurface

A helical surface defined by an axis, a curve and a pitch. the curve and the axis must reside in a common plane. The curve is revolved around the axis while beeing moved in direction of the axis. The distance movement in direction of the aixs is "pitch" for one full turn.

IGeoObjectImpl

This class helps to implement IGeoObject by implementing some IGeoObject methods in a default way and by offering some helper methods.

IGeoObjectImpl.Changing

Helper class to wrap any changing of this GeoObject. Usually used in this way:

using (new Changing(this,...))
{
    // ... make the change here ...
}

This will call FireWillChange(GeoObjectChange) before the GeoObject is changed and FireDidChange(GeoObjectChange) after the GeoObject was changed with the appropriate parameters. Changig takes nested changes into account and raises the events only at the outermost level.

IGeoObjectImpl.ChangingAttribute

Helper class to wrap the setting of an attribute. Usually used in this way:

using (new ChangingAttribute(this,atrName,attribute))
{
    // ... set the attribute here ...
}

This will call FireWillChange(GeoObjectChange) before the attribute is changed and FireDidChange(GeoObjectChange) after the attribute was changed.

IGeoObjectImpl.ChangingException

An ApplicationException thrown when an error happens during a change operation.

ISurfaceImpl

Internal helper class for ISurface implementation.

Icon

A GeoObject that displays an icon at a given position. The icon will always face the viewer and will not be scaled. The icon appears with a small offset in direction to the viewer, so it will not be covered by a face with which it coincides. The image is kept as the bytes of a PNG, JPEG, GIF or BMP file (ImageData), which is also what project files contain (issue #412).

Intersection

This class provides some static methods concerning the intersection of 3D IGeoObject objects. The class Curves also provides some inetersction methods of ICurve objects.

Line

The line is a IGeoObject. It is actually a line segment not an infinite line.

Make3D

Static methods to create and combine Solids, Shells and Faces: primitives (MakeBox(GeoPoint, GeoVector, GeoVector, GeoVector), MakeCylinder(GeoPoint, GeoVector, GeoVector), MakeCone(GeoPoint, GeoVector, GeoVector, double, double), MakeSphere(GeoPoint, double), MakeTorus(GeoPoint, GeoVector, double, double)), extrusions and sweeps (MakePrism(IGeoObject, GeoVector, Project, bool), MakeRevolution(IGeoObject, GeoPoint, GeoVector, double, Project), MakePipe(IGeoObject, Path, Project), MakeRuledSolid(Path, Path, Project), MakeRuledShell(Path, Path, Project)), boolean operations (Union(Solid, Solid), Difference(Solid, Solid), Intersection(Solid, Solid)), fillets and chamfers (MakeFillet(Edge[], double, out Shell), MakeChamfer(Face, Edge[], double, double, out IGeoObject[])) and sewing faces to shells and solids (SewFaces(Face[], bool), SewFacesAndShells(GeoObjectList)).

Methods with a Project parameter give the result the project's current layer, colour and other default attributes (SetDefaults(IGeoObject)) when the project is not null. No method adds its result to a model, that is left to the caller (Add(IGeoObject)).

Some members are left over from an implementation on top of an external modelling kernel and throw NotImplementedException; they are marked obsolete, name the replacement where one exists, and will be removed in the next minor version.

NonPeriodicCylindricalSurface

A CylindricalSurface with a parameter space that has no seam: the (angle, axis position) system of the cylinder is replaced by polar coordinates in a plane, u = r·cos(angle), v = r·sin(angle) with r = axis position − vmin. vmin must lie below every axis position that is used, otherwise the mapping folds over. Make3D uses it for extrusions whose end curves cross the seam of the periodic cylinder. INonPeriodicSurfaceConversion converts points and 2d curves between the two parameter systems.

NonPeriodicSurface

Non-periodic surface made from an underlying periodic surface. The underlying periodic surface must be periodic in u or in v and may have a pole at the minimum or maximum of the non periodic parameter. The underlying periodic surface may also be non periodic but have one singularity, which will be removed.

NurbsSurface

A NURBS surface implementing ISurface.

OffsetSurface

The surface at a constant distance from another surface: the point at (u, v) is the point of BaseSurface at (u, v) moved by Offset along the normal of the base surface, so both surfaces share the same parameter space. GetOffsetSurface(double) returns it for surfaces that have no exact offset of their own kind, and the STEP import creates it for OFFSET_SURFACE entities. Derivatives are computed from the derivatives of the base surface; where the base surface is curved more strongly than the offset (radius of curvature below the offset) the offset surface is singular.

Path

A geoobject, that derives from Block and represents a ordered collection of geoobjects which all support the ICurve intrface. The contained curves are connected, i.e. Child(i).EndPoint is equal or close to Child(i+1).StartPoint. The Path is not necessary planar, closed and may be self intersecting.

PathException

Exception thrown by Path, e.g. when start point, end point or directions are requested from a path that contains no curves. et gives the reason.

Picture

A bitmap as a rectangular or rhombiod face in 3D space. This object is mainly used for illustration or as a background in a model. It is a GeoObject and may be part of a model. It is defined by the image and the location in space. The image is kept as the bytes of a PNG, JPEG, GIF or BMP file (ImageData), which is also what project files contain; the kernel does not decode it (issue #412).

PlaneSurface

A planar infinite surface. Implements ISurface. The plane is defined by two vectors which are not necessary perpendicular or normalized.

Point

Implements a point as a IGeoObject.

Polyline

A polyline as a IGeoObject implementing ICurve: a sequence of straight segments through the given vertices, open or closed. A polyline need not be planar. Special cases are the rectangle and the parallelogram, which are created with SetRectangle(GeoPoint, GeoVector, GeoVector) and SetParallelogram(GeoPoint, GeoVector, GeoVector) and keep their shape when edited. Create one with the static Construct() method; Decompose() splits a polyline into individual Line objects.

PolylineException

Exception thrown by Polyline when an operation is not possible on the current polyline: when the rectangle or parallelogram members are used on a polyline that is not one, when a polyline is set with less than two different points, or when start point, end point or directions are requested from a polyline without vertices. ExceptionType says which case it is.

QuadTreeCollection

The IQuadTreeInsertableZ item of a composite object (Block, Dimension, Path, Shell, Solid ...) in the quadtree of a ProjectedModel. It keeps the quadtree items of the parts in a quadtree of its own, so that the extent, the hit test and the z position of the composite object are answered by its parts, while ReferencedObject is the composite object itself. Created by GetQuadTreeItem(Projection, ExtentPrecision) of those objects.

Shell

A shell is a set of connected Faces: neighbouring faces share their Edges, and the faces are oriented consistently, so that the surface normals of all faces point to the same side (outward for the shell of a Solid). A shell is closed when every edge belongs to two faces (see OpenEdges); a closed shell can bound a Solid (MakeSolid(Shell)), an open shell is a free standing surface, e.g. a sheet metal part. Shells are created by the methods of Make3D (extrusion, rotation, sewing of faces), by FromFaces(Face[], bool) from faces that already share their edges, or come from the file imports. A shell is also an IGeoObject that can be added to a Model.

ShellExtensions

Extension methods for the analysis of shells, faces and edges.

ShellMetrics

Measures a shell: the enclosed volume and the surface area integrated over the parameter domains of the faces (exact up to the quadrature, independent of the triangulation), the size of the shell and some topological counts. Ported from the ShapeIt application, where it measures the results of the modeling operations.

ShowPropertyFont

Property entry, a group in the property grid, that shows and edits the font of a Text: the font family, chosen from the families installed on the system, and the bold, italic, underline and strikeout flags. It is a sub-entry of ShowPropertyText.

ShowPropertyPicture

Property entry that shows and edits a Picture in the property grid: the location, the width and height (optionally keeping the aspect ratio of the bitmap), the two direction vectors (optionally kept perpendicular), the file path and the attributes. Location and directions have hotspots in the drawing area. It is returned by GetShowProperties(IFrame).

ShowPropertyText

Property entry that shows and edits a Text in the property grid: the string, the location, the alignment, the line and glyph direction, the size, the glyph angle, the column width, the font (ShowPropertyFont) and the attributes. Location, directions and size have hotspots in the drawing area. It is returned by GetShowProperties(IFrame) and provides the context menu of the text.

SnapPointFinder

Ths class serves as a parameter to FindSnapPoint(SnapPointFinder). It keeps the best snappoint, the object, which caused it and the distance to the mouse point.

Solid

A Solid is a IGeoObject implementation that represents a solid body. Its main data is a collection of oriented faces. The normal vector on any point of the face points to the outside of the body. Solids have one set of faces that represent the outer hull and any number of cavities that reside totally inside the outer hull. All cavyties are disjoint.

SphericalSurface

A spherical surface which implements ISurface. It represents a sphere (or, when the three axes have different lengths, an ellipsoid) defined by its center and three axis vectors. The u parameter is the longitude: the angle around ZAxis, 0 at XAxis, in [0, 2π]; the v parameter is the latitude: the angle from the equator towards ZAxis, in [-π/2, π/2]. The poles at v = ±π/2 are singularities of the parameter system. SphericalSurfaceNP describes the same geometry with a non-periodic parameter system.

SphericalSurfaceNP

A spherical surface with a non periodic u/v system. It also has no poles. It cannot represent a whole sphere, there must be some part which is outside the usable area. The center, xAxis, yAxis and zAxis define a coordinate system. The plane defined by (center, xAxis and yAxis) is the equator plane of the sphere, (center+zAxis) is the north pole. (center-zAxis) is the south pole, which may not be part of the used area. The u/v system is the u/v system of the equator area. The point of the sphere for a provided u/v point is the projection of this point from the south pole to the surface. All circular arcs on the sphere (e.g. planar intersections) are elliptical arcs in the u/v system (or lines, when they pass the north pole)

SurfaceHelper

Static helper methods for working with ISurface objects, mainly for handling the periodicity of the u/v parameter space: the AdjustPeriodic methods move points and curves by multiples of the period into a given domain.

SurfaceOfLinearExtrusion

Surface defined by a 3d curve and a direction. A point at (u,v) of the surface is defined by the point of the curve at parameter u plus v*direction. It is the surface that is generated by the curve moved along the direction. The curve may not have the direction as a tangential vector. Also the curve is defined in the interval [0,1], the parameterspace of this curve may also be defined by a startParameter and an endParameter.

SurfaceOfRevolution

The surface generated by revolving a curve (BasisCurve) about an axis given by Location and Axis. The u parameter is the rotation angle in radians (0 to 2π, periodic), the v parameter is the natural parameter of the basis curve, see GetNaturalBounds(out double, out double, out double, out double). The curve usually lies in a plane through the axis, but need not. Create it with the constructor or let MakeRevolution(IGeoObject, GeoPoint, GeoVector, double, Project) build the faces; the older representation by a 2d curve and a ModOp is still read from old files and converted on deserialization.

SurfaceOfRevolution.Hyperbola

The 2d profile of a hyperboloid of one sheet: a straight line, skew to the axis of revolution, revolved about that axis. GetLineIntersection(GeoPoint, GeoVector) uses it in the old (2d curve) representation to intersect such a line with the surface by intersecting this curve with the 2d basis curve. Points and directions are delegated to SurfaceOfRevolution.HyperbolaHelp; cloning, copying and splitting are not implemented and throw.

SurfaceOfRevolution.HyperbolaHelp

Helper for SurfaceOfRevolution.Hyperbola: one branch of the hyperbola x = a·cosh(t), y = b·sinh(t) + yoffset in the unit system of the surface (axis of revolution = y axis). It is the profile a straight line, skew to the axis, sweeps out when it is revolved, and it is intersected with the 2d basis curve to intersect such a line with the surface. Only PointAt(double), PositionOf(GeoPoint2D), DirectionAt(double) and Reverse() are implemented; cloning, copying and splitting throw.

SurfaceOfRevolutionException

Thrown when a surface cannot be built by revolving a curve about an axis, e.g. by HelicalSurface when the curve lies on the axis and no plane through both exists. MakeRevolution(IGeoObject, GeoPoint, GeoVector, double, Project) catches it to skip such degenerate curves.

Surfaces

Extensions for multiple surfaces

Text

Simple Text object, Implements IGeoObject.

ToroidalSurface

A toroidal surface which implements ISurface. The surface represents a torus in space. It is defined by its position in space (three directions) and two radii. The u parameter describes the "big" circles around the main axis, the v parameter describes the "small" circles.

UnscaledGeoObject

A GeoObject which always appears in the same size in a view. It is not scaled when the view is zoomed. These objects can not be kept in displaylists and hence have a poor performance when used in high numbers. The objects rotate with the view when viewed from different directions. The Location specifies the position of the origin (GeoPoint(0,0,0)) of the referenced GeoObject. Usually you would center the referenced object at the origin so this object will be centered at the Location. In contrast to the Icon object, which always shows its face to the viewer and is much faster, because it can be kept in the display list. Since this object does not have a well-defined size in world coordinates, it is only pickable or selectable at its insertion point. The size of the object is assumed in device units (pixels) The Layer of this object will be taken into account for the objects visibility, not the layer of the referenced object. The use of this object is not recommended because it has a poor performance in both display and selection. Consider using Icon instead.

Structs

IGeoObjectImpl.Changing<T>

A performance optimized version of IGeoObjectImpl.Changing, without reflection and minimal allocations.

Interfaces

ICategorizedDislayLists

Receives the objects of a Model sorted into the display lists that the renderer paints one after the other: PaintTo3DList(IPaintTo3D, ICategorizedDislayLists) of each object calls Add(Layer, bool, bool, IGeoObject) to say which lists the object belongs to. The lists are kept per Layer, so that visibility and transparency of a layer can be applied to all of its objects at once. Implemented by Model; not intended to be implemented by user code.

ICone

Common interface for ConicalSurface and ConicalSurfaceNP. Both surfaces implement only a half cone, which goes from the Apex in the direction of Axis.

ICurve

Interface implemented by one-dimensional geometric objects (eg. line, circle, bspline etc.). The curve may be open or closed.

ICylinder

Interface to handle both CylindricalSurface and CylindricalSurfaceNP

IDimensionStyle

Implemented by objects that carry a DimensionStyle: the Dimension itself and the Style. The DimensionStyleSelectionProperty and the DimensionStyleList use it to show and change the dimension style of an object without knowing its type.

IExtentedableCurve

Interface for ICurve implementing objects that can be extended in one or two directions

IGeoObject

IGeoObject is the interface that all geometric entities must support.

IGeoObjectOwner

An IGeoObject object is either owned by a Model or by a Block or it has no owner. The property Owner sets or gets that owner. The Model or Block implement this interface. If you need more functionality than Add and Remove, try to cast IGeoObjectOwner to Model or Block.

IGeoObjectShowProperty

Implemented by the property entries that show a GeoObject in the property grid, i.e. the entries returned by GetShowProperties(IFrame) (e.g. ShowPropertyText or ShowPropertyPicture). It lets the SelectObjectsAction find the object an entry stands for and the id of the object's context menu, and lets an application modify the context menu of the entry.

INonPeriodicSurfaceConversion

Implemented by surfaces which describe the same geometry as a periodic surface but with a non-periodic parameter system (e.g. NonPeriodicCylindricalSurface, which replaces the angle u of the CylindricalSurface). It converts u/v points and 2d curves between the two parameter systems, so that curves computed on the periodic surface can be used on the non-periodic one and vice versa.

IOrientation

---Yet to be used--- Imagine a coordinate system moving along a 3d curve. Th z-axis always showing in direction of the curve. The x- and y-axis are still arbitrary. This orientation interface defines the direction of the x-axis at some point

IQuadTreeInsertableZ

An item of a 2d QuadTree of projected objects that also knows its depth: in addition to the 2d extent and the hit test of IQuadTreeInsertable it tells how far in front of the viewer the object is at a given 2d point, which decides which of several objects under the cursor is in front and gets picked. GetQuadTreeItem(Projection, ExtentPrecision) returns such an item; composite objects return a QuadTreeCollection of the items of their parts.

IRestrictedDomain

Interface for surfaces with non rectangular definition space. Normally surfaces are either defined for all 2d values (infinite) or they are restricted to a rectangular domain (e.g. NurbsSurface). The NonPeriodicSurface is only defined on a circular area or on a ring. Maybe other surfaces with irregular domains will follow.

ISphere

Interface to handle both CylindricalSurface and CylindricalSurfaceNP

ISurface

The ISurface interface must be implemented by all 3-dimensional unbound surfaces that are used by the Face object. The surface has a well defined 2-dimensional coordinate system, usually referred to as the u/v system.

ISurfaceOfArcExtrusion

This surface interface is mainly for fillets

ISurfaceOfExtrusion

Interface of an extrusion surface. All surfaces, that can be interpreted as an extrusion should implement this interface

ISurfaceOfRevolution

Interface of a surface rotating in u direction. Should be implemented by all surfaces, which can be looked at this was

ISurfaceWithRadius

Implemented by surfaces which are defined by a single radius: ICylinder, ISphere and the surfaces implementing them. The parametric actions use it to display and change the radius of a face without knowing the concrete type of its surface.

Enums

AttributeUsage

Flags that say which attributes an object takes from the Block it belongs to ("by block") instead of carrying a value of its own. The values can be combined. Currently not evaluated by CADability: a color that comes from the block is expressed by a ColorDef with fromParent.

CurveException.Mode

Enumeration of different causes for this exception

Dimension.EDimType

Different types of dimensioning

Dimension.EditingMode

Selects which of the texts of a dimension is being edited in place with a text editor: none (dontEdit), the dimension text itself (editDimText), the upper or lower tolerance text (editTolPlusText, editTolMinusText), the prefix (editPrefix), the postfix (editPostfix) or the alternative postfix (editPosfixAlt). The mode decides which Text object is handed to the editor when the dimension is recalculated. The in-place editing is currently not used by the property page.

Dimension.HitPosition

The parts of a dimension that a point hits, as returned by GetHitPosition(Projection, GeoPoint2D, out int); several flags may be combined. DimLine is the dimension line, Prefix, Text and PostFix are the texts in front of, of and after the measured value, UpperText and LowerText are the plus and minus tolerance texts, AltText and PostFixAlt the alternative text and its postfix.

EllipseException.tExceptionType

The reason for an EllipseException.

ExtentPrecision

Selects how precisely GetExtent(Projection, ExtentPrecision) and GetQuadTreeItem(Projection, ExtentPrecision) compute the 2d extent of an object.

ExtentedableCurveDirection

Enumeration for direction of curve extension

GeoObjectException.tExceptionType

Kind of exception

Make3D.SolidModellingMode

How the construct actions for primitives (box, cylinder, cone, sphere, torus) combine the new solid with the solids already in the model: unite adds it to the solids it overlaps, subtract removes it from them, and unchanged adds it as a separate object. Set by the user via SolidModellingMode.

Path.ModificationMode

Intended to select how SetPoint(int, GeoPoint, ModificationMode) adapts the two curves that meet in the moved vertex. The current implementation treats both modes alike.

PathException.ExceptionType

The reason for a PathException: PathIsEmtpy when the path contains no curves, NotPlanar when a planar path was required. PathIsInvalid (curves not connected) and NoModification are not thrown by the current implementation.

PlanarState

Enumeration for the classification of the planar state of a curve

PointSymbol

Flags definig the symbol for the presentation of a Point object. The flag may contain one of the values Empty=0x0,Dot=0x1,Plus=0x2,Cross=0x3,Line=0x4 combined with Square=0x8 or Circle=0x10.

PolylineException.PolylineExceptionType

The reason for a PolylineException: General for an invalid value (e.g. a width or an angle of 0), NoPoints when the polyline has no or too few vertices for the operation, NoRectangle and NoParallelogram when a rectangle or parallelogram member is used on a polyline that is not one, and RectangleSameDirections when SetRectangle(GeoPoint, GeoVector, GeoVector) is called with parallel directions.

RuledSurfaceMode

Tells whether and how a surface is ruled, i.e. whether its parameter lines in one direction are straight lines. Returned by IsRuled; the triangulation uses it to split faces preferably along the straight direction. notRuled: no straight parameter lines (the default). ruledInU: the lines of constant v (u varies) are straight, e.g. a NurbsSurface of degree 1 in u. ruledInV: the lines of constant u (v varies) are straight, like the generating lines of a CylindricalSurface or ConicalSurface. planar: straight in every direction. local: only parts of the surface are ruled. The surfaces of CADability currently return only the first three values.

Shell.FindSameFormSearchMode

Where FindSameForm(Face[], double, FindSameFormSearchMode) looks for other instances of a form: with searchX, searchY and searchZ only instances that are translated along that axis are accepted, with searchAny any translation is accepted. (The candidate faces are currently collected along the x axis for all three axis modes.)

Shell.ShellFlags

Flags that record which normalizations have already been applied to a shell (see State), so that they are not repeated unnecessarily.

ShellExtensions.AdjacencyType

How two faces meet at an edge, see Adjacency(Edge).

SnapPointFinder.DidSnapModes

Resulting snap modes of the snap opertaion.

SnapPointFinder.SnapModes

Snap modes to specify in which points the SnapPointFinder should respect

Text.AlignMode

Vertical alignement of the text.

Text.LineAlignMode

Horizontal alignement of the text

Delegates

BSpline.ConstructedDelegate

Signature of the handlers of the Constructed event.

BSpline.ConstructionDelegate

Signature of the Constructor hook: creates a new, still undefined BSpline or an object of a class derived from it.

BSpline.PaintTo3DDelegate

Signature of the OnPaintTo3D hook. The handler returns true when it has painted the spline itself, false to let the default painting in PaintTo3D(IPaintTo3D) proceed.

Block.ConstructionDelegate

Signature of the factory method that Construct() calls when one is registered in Constructor.

Block.PaintTo3DDelegate

Signature of the handler for OnPaintTo3D.

BlockRef.ConstructionDelegate

Signature of the factory method that Construct(Block) calls when one is registered in Constructor.

BlockRef.PaintTo3DDelegate

Signature of the handler for OnPaintTo3D.

ChangeDelegate

Delegate method that is invoked when a GeoObject is about to change or did change.

ConstructionLine.ConstructionDelegate

Delegate for the construction of a ConstructionLine.

CreateContextMenueDelegate

Handler for CreateContextMenueEvent.

Dimension.ConstructionDelegate

Signature of the factory method that Construct() calls when one is registered in Constructor.

Dimension.PaintTo3DDelegate

Signature of the handler for OnPaintTo3D.

Ellipse.ConstructedDelegate

Signature of the handlers of the Constructed event.

Ellipse.ConstructionDelegate

Signature of the Constructor hook: creates a new, still undefined Ellipse or an object of a class derived from it.

Ellipse.PaintTo3DDelegate

Signature of the OnPaintTo3D hook. The handler returns true when it has painted the ellipse itself, false to let the default painting in PaintTo3D(IPaintTo3D) proceed.

Face.ConstructedDelegate

Signature of Constructed.

Face.ConstructionDelegate

Signature of Constructor.

Face.PaintTo3DDelegate

Signature of OnPaintTo3D.

GeneralCurve.ConstructionDelegate

Signature of the Constructor hook, which would create a new object of a class derived from GeneralCurve. Not used: GeneralCurve is abstract and has no Construct method which calls the hook; the derived classes have their own.

GeoObjectList.ObjectAddedDelegate

Handler for ObjectAddedEvent.

GeoObjectList.ObjectRemovedDelegate

Handler for ObjectRemovedEvent.

Hatch.ConstructedDelegate

Signature of the handlers of the Constructed event.

Hatch.ConstructionDelegate

Delegate definition for Constructor

Hatch.PaintTo3DDelegate

Signature of the handler for OnPaintTo3D. Hides Block.PaintTo3DDelegate in order to pass the hatch.

Hatch.RecalcDelegate

Signature of the handler for OnRecalc.

HelicalCurve.ConstructedDelegate

Signature of the handlers of the Constructed event.

HelicalCurve.ConstructionDelegate

Delegate for the construction of a HelicalCurve.

IGeoObjectImpl.GetAdditionalContextMenueDelegate

Handler for GetAdditionalContextMenueEvent.

Icon.ConstructedDelegate

Definition of the Constructed event

Icon.ConstructionDelegate

Delegate for the construction of a Icon.

Line.ConstructedDelegate

Handler for Constructed.

Line.ConstructionDelegate

Delegate for the construction of a Line.

Line.PaintTo3DDelegate

Handler for OnPaintTo3D.

Path.ConstructedDelegate

Signature of the handlers of the Constructed event.

Path.ConstructionDelegate

Signature of the Constructor hook: creates a new, empty Path or an object of a class derived from it.

Path.PaintTo3DDelegate

Signature of the OnPaintTo3D hook. The handler returns true when it has painted the path itself, false to let the default painting in PaintTo3D(IPaintTo3D) proceed.

Picture.ConstructedDelegate

Definition of the Constructed event

Picture.ConstructionDelegate

Delegate for the construction of a Picture.

Point.ConstructedDelegate

Handler for Constructed.

Point.ConstructionDelegate

Delegate for the construction of a Point.

Point.PaintTo3DDelegate

Handler for OnPaintTo3D.

Polyline.ConstructedDelegate

Signature of the handlers of the Constructed event.

Polyline.ConstructionDelegate

Signature of the Constructor hook: creates a new, empty Polyline or an object of a class derived from it.

Polyline.PaintTo3DDelegate

Signature of the OnPaintTo3D hook. The handler returns true when it has painted the polyline itself, false to let the default painting in PaintTo3D(IPaintTo3D) proceed.

Shell.ConstructedDelegate

Signature of Constructed.

Shell.ConstructionDelegate

Signature of Constructor.

Shell.PaintTo3DDelegate

Signature of OnPaintTo3D.

Solid.ConstructedDelegate

Signature of Constructed.

Solid.ConstructionDelegate

Signature of Constructor.

Solid.PaintTo3DDelegate

Signature of OnPaintTo3D.

Text.ConstructionDelegate

Delegate for the construction of a Text.

Text.PaintTo3DDelegate

Handler for OnPaintTo3D.

UnscaledGeoObject.ConstructedDelegate

Signature of the handlers of the Constructed event.

UnscaledGeoObject.ConstructionDelegate

Delegate for the construction of a UnscaledGeoObject.