CADView
Properties
CADFile |
CADFile CADFile | |
ContextMenuPoint readonly |
Point ContextMenuPoint | |
Control readonly |
UserControl Control | |
CurrentEditMode | EditMode CurrentEditMode | |
DrawingTree | CBFileTreeView DrawingTree | |
Grid readonly |
DrawingGrid Grid | |
IsThinking readonly |
bool IsThinking | |
SelectedEntities readonly |
object[ ] SelectedEntities | |
Selection readonly |
CADSelections Selection | |
ViewProjection readonly |
ViewProjection ViewProjection | |
ViewTransform readonly |
Matrix4x4F ViewTransform |
Methods
AddControl | void AddControl(Control c) | |
AddSnapPoint |
void AddSnapPoint(Point3F p) | |
ClearSelections | void ClearSelections() | |
DoKeyDown | void DoKeyDown(KeyEventArgs e) | |
DoKeyPress | void DoKeyPress(KeyPressEventArgs e) | |
DoKeyUp | void DoKeyUp(KeyEventArgs e) | |
DoMouseDoubleClick | void DoMouseDoubleClick(MouseEventArgs e) | |
DoMouseDown | void DoMouseDown(MouseEventArgs e) | |
DoMouseMove | void DoMouseMove(MouseEventArgs e) | |
DoMouseUp | void DoMouseUp(MouseEventArgs e) | |
DrawingToScreen | PointF DrawingToScreen(Point3F pDrawing) Return the corresponding screen coordinates (in pixels) of a point in the view (drawing area) 0,0 is in the upper left corner of the drawing area |
|
GetEntityAtViewPoint | EntityTestResult GetEntityAtViewPoint(Point pt) | |
GetPrimitiveAtPoint | Entity GetPrimitiveAtPoint(Point pt) Return the primitive under the given position in pixels |
|
GetPrimitiveAtPoint | Entity GetPrimitiveAtPoint(Point pt, ref Point3F NearestVertex) | |
GetPrimitivesWithRectangle | Entity[ ] GetPrimitivesWithRectangle(Point mp1, Point mp2) | |
GetSelectionPoint | Point3F GetSelectionPoint(Point mp) | |
GetSnapPoint | Point3F GetSnapPoint(Point mp, float tolerance) Return the closest snap point (object snap point only) to the given pixel position on the view |
|
GetVisibleStock | Dictionary<StockDef, Point2F> GetVisibleStock() | |
IsSelected | bool IsSelected(Entity ent) | |
IsViewRotate | bool IsViewRotate() | |
OnKeyDown | void OnKeyDown(object sender, KeyEventArgs e) | |
RefreshView | void RefreshView() | |
RefreshView | void RefreshView(bool repaint_edit_mode) | |
RemoveControl | void RemoveControl(Control c) | |
RenderEditMode | void RenderEditMode() | |
RenderScene | void RenderScene() | |
RepaintEditMode | void RepaintEditMode() | |
ResetTranslations | void ResetTranslations() | |
ResumeRefresh | void ResumeRefresh() | |
ScreenToDrawing | Point3F ScreenToDrawing(PointF pScreen) Return the corresponding view coordinates (in drawing unit) of a point in the view (in pixels) |
|
Select | void Select(ArrayList objects) | |
Select | void Select(ICollection<Entity> entities) | |
Select | void Select(Entity ent) | |
Select | void Select(Entity[ ] ent) | |
SelectAllLayerGeometry | void SelectAllLayerGeometry() | |
SelectAllLayerGeometry | void SelectAllLayerGeometry(Layer layer) | |
SelectAllVisibleGeometry | void SelectAllVisibleGeometry() | |
SelectObjects | void SelectObjects(object[ ] objects) | |
SetEditMode | void SetEditMode(EditMode em) | |
SetEditMode | void SetEditMode(EditMode em, bool replaceexisting) | |
StartThinking | void StartThinking() | |
StartThinking | void StartThinking(bool bShowCancel) | |
StopThinking | void StopThinking() | |
SuspendRefresh | void SuspendRefresh() | |
UpdateViewport | void UpdateViewport() | |
Zoom | void Zoom(double scale, Point zoom_point) | |
ZoomActualSize | void ZoomActualSize() | |
ZoomIn | void ZoomIn() | |
ZoomIn | void ZoomIn(Point zoom_point) | |
ZoomOut | void ZoomOut() | |
ZoomOut | void ZoomOut(Point zoom_point) | |
ZoomToFit | void ZoomToFit() |