In Update 5 we have moved to use the Visual Studio 2015 compiler throughout the MicroStation product line. It is advisable to recompile applications with this compiler when delivering applications with update 5
There are a number of functions and methods which have been deprecated in this release please see MicroStation CONNECT Update 5 Deprecated functions for the list of functions and their replacements
The following methods/functions have been added to this release of the SDK
New data structure "CurveLocationDetailPair" which consists of a pair of CurveLocationDetail structs, as produced by curve-curve intersection code.
Constructors
Methods
Select the method to be used to offset bspline curves in MSBsplineCurve::CreateCopyOffsetXY and ICurvePrimitive::CloneAsSingleOffsetPrimitiveXY.
1 – offset with fit points at offsets of the Greville knots. (Moving averages of (order-1) knots) This is appropriate (and strongly preferred) when the input curve is smooth.
0 – (and other) offset to multiple fit points within each bezier span. Use SetBCurfvePointsPerKnot () to control fit point counts. This method significantly increases number of knots. This may be more accurate for a single offset, but leads to overly dense curves if offset is repeated.
DoubleOps methods
Return the ith of n chebyshev points, cos(PI * (2i+1)/(2n)), starting at i=0
Test with tolerance for equality
Return determinant
Test if x is between 0 and 1 inclusive, with AlmostEqualFraction at each end.
In DRay.h
Return a ray with origin interpolated between points. The ray direction is the point0 to point1 vector scaled by vectorScale
In DVec3d.h
Returns a DVec3d from a 2d vector (with 0 z)
Get a unit length vector in X
Get a unit length vector in Y
Get a unit length vector in Z
In polyface.h
Triangulate selected facets
Get the closest point on an edge to a given point.
Get the closest point on a face to a given point.
Test if a point is inside or on the boundary of the given body.
Draw geometry for the given face, edge, or vertex to the specified ViewContext.
Evaluate point and tangent at a u parameter on the curve of the given edge sub-entity.
Evaluate point, normal, and derivatives at a uv parameter on the surface of the given face sub-entity.
Evaluate point of the given vertex sub-entity.
Get u edge parameter range for the given edge sub-entity.
Get uv face parameter range for the given face sub-entity.
Get an axis aligned bounding box for the given body.
Get an axis aligned bounding box for the given face or edge.
Evaluate point and normal at center of face parameter range for the given face sub-entity.
Create an element to represent the given body.
Utility methods for help with debugging
Output topology information for the given body to the console window.
Output topology information for the given sub-entity to the console window.
Support for persistent topological ids on faces, edges, and vertices.
Assign new topology ids to faces of the given body. Resolves duplicate face ids such as from a face being split.
Remove the topology ids from all faces of the given body.
Find the highest and lowest nodeId values from the topology ids currently assigned to the faces of the given body. Used to avoid nodeId conflicts between target and tool bodies.
Get the EdgeId currently assigned to a given edge sub-entity.
Get the FaceId currently assigned to a given face sub-entity.
Get the VertexId currently assigned to a given vertex sub-entity.
Increment the topology ids for all faces of the given body. Used to avoid nodeId conflicts between target and tool bodies.
Permanently deletes the saved Geographic Coordinate System parameters saved in the model.
Two factory methods that constructs an DgnGCS instance by attempting to locate the element that saves the geographic coordinate system parameters in the specified DgnModel, and creating the instance based on those parameters.
Reloads geographically transformed and geographically projected references, responding to GCS changes in modelRef.
Methods to Set or remove a coordinate system event handler.
Writes the GCS parameters to the model.
Sets the Paper Scale for this GCS. The Paper Scale affects the Cartesian coordinates and makes measurements unreliable. Its use is not recommended. The default and recommended value is 1.0
In DgnModel.h
Get the update sequence for this models references, this is a list of reference attachment element ids
Set the update sequence for this models references, this is a list of reference attachment element ids
Set the update sequence for this models references
Returns the ancestor GuiTreeNode at a certain level up from a specified child GuiTreeNode
In befilename.h
Move an existing file or an existing directory to Recycle Bin
Strip all separators at the end of a string
Strip all separators at the end of a string