Property ECSMatrix
- Namespace
- VectorDraw.Professional.vdPrimaries
- Assembly
- VectorDraw.Professional.dll
ECSMatrix
Gets the transformation Matrix that converts coordinates from the object's local coordinate system (object coordinate system, OCS) to the World Coordinate System (WCS).
public virtual Matrix ECSMatrix { get; }
Property Value
Remarks
- The returned matrix is cached; subsequent calls return the same instance stored in
mEcsMatrix. If the object's geometry or extrusion changes, the cache must be cleared via Update() so the matrix can be recomputed. - Callers should not modify the returned matrix in-place, as it is shared and cached.
Instead, to apply transformations, prefer using Transformby(Matrix) - See also IvdProxyFigure for example of implementing a custom figure with a proxy figure and how to override basic methods of vdFigure for a custom figure.